:root {
    --h2-search-border: #d1d5db;
    --h2-search-icon: #9ca3af;
    --h2-search-focus: #ce0e22;
    --h2-search-radius: 8px;
    --h2-search-action-w: 2rem;
    --h2-search-input-pr: 1.75rem;
    --h2-search-input-pr-filled: 3.75rem;
    --h2-search-mobile-btn: 44px;
    --h2-search-mobile-gap: 8px;
    --h2-search-mobile-btn-bg: #333;
}

.site-search .dgwt-wcas-sf-wrapp {
    position: relative;
    cursor: text;
}

.site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder,
.site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::-webkit-input-placeholder,
.site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:-moz-placeholder,
.site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::-moz-placeholder,
.site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:-ms-input-placeholder {
    color: var(--h2-search-icon);
    font-style: normal;
    font-weight: 400;
    opacity: 1;
}

@media (min-width: 993px) {
    .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
    .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:hover,
    .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 0.5rem var(--h2-search-input-pr) 0.5rem 1rem;
        font-size: 1rem;
        line-height: 1.5;
        color: #1a1a1f;
        background: #fff;
        border: 1px solid var(--h2-search-border);
        border-radius: var(--h2-search-radius);
        box-shadow: none;
        transition: box-shadow 0.15s ease;
        -webkit-appearance: none;
        appearance: none;
    }

    .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus,
    .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus-visible {
        outline: none;
        border-color: var(--h2-search-border);
        box-shadow: 0 0 0 2px var(--h2-search-focus) !important;
    }

    .site-search .dgwt-wcas-open .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
        border-radius: var(--h2-search-radius);
    }

    .site-search .dgwt-wcas-search-wrapp.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
        padding-right: var(--h2-search-input-pr-filled);
    }

    .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        transform: none;
        width: var(--h2-search-action-w) !important;
        min-width: var(--h2-search-action-w) !important;
        max-width: var(--h2-search-action-w) !important;
        height: 100%;
        min-height: 100%;
        margin: 0;
        padding: 0 !important;
        border: 0;
        border-radius: 0 var(--h2-search-radius) var(--h2-search-radius) 0;
        background: transparent !important;
        cursor: pointer;
        opacity: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
        color: var(--h2-search-icon);

        pointer-events: none;
    }

    .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::before {
        display: none;
    }

    .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover,
    .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:focus,
    .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:active {
        opacity: 0.7;
        background: transparent !important;
        outline: none;
    }

    .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier,
    .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg {
        position: static;
        display: block;
        width: 20px;
        height: 20px;
        max-width: 20px;
        max-height: 20px;
        margin: 0;
        pointer-events: auto;
        cursor: pointer;
    }

    .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg circle,
    .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg path {
        fill: none;
        stroke: currentColor;
    }

    .site-search .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader {
        top: 0;
        right: var(--h2-search-action-w);
        width: var(--h2-search-action-w);
        height: 100%;
        margin: 0;
        z-index: 2;
        background: none;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }

    .site-search .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader.dgwt-wcas-close {
        pointer-events: auto;
        cursor: pointer;
    }

    .site-search .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader.dgwt-wcas-close svg {
        display: block;
        width: 18px;
        height: 18px;
    }

    .site-search .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader.dgwt-wcas-close path {
        fill: var(--h2-search-icon);
    }

    .site-header .site-search {
        flex: 1 1 auto;
        max-width: 36rem;
        width: auto;
        margin-left: 1.5em;
    }

    .header-5 .site-header .site-search {
        width: auto;
        max-width: 36rem;
    }

    .header-5 .site-header .site-search input[type="search"].dgwt-wcas-search-input {
        height: auto;
    }
}

@media (max-width: 992px) {
    .m-search-bh .site-search,
    .m-search-toggled .site-search {
        height: auto;
        min-height: 0;
        box-shadow: none;
        background-color: #fff;
    }

    .m-search-bh .site-search .dgwt-wcas-search-wrapp,
    .m-search-toggled .site-search .dgwt-wcas-search-wrapp {
        width: 100%;
        max-width: none;
    }

    .m-search-bh .site-search .dgwt-wcas-sf-wrapp,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: var(--h2-search-mobile-gap);
    }

    .m-search-bh .site-search input[type="search"],
    .m-search-toggled .site-search input[type="search"],
    .m-search-bh .site-search input[type="search"].dgwt-wcas-search-input,
    .m-search-toggled .site-search input[type="search"].dgwt-wcas-search-input,
    .m-search-bh .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
        flex: 1 1 auto;
        width: auto !important;
        min-width: 0;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        line-height: 1.5;
        color: #1a1a1f;
        border: 1px solid var(--h2-search-border) !important;
        background: #fff !important;
        border-radius: var(--h2-search-radius) !important;
        box-shadow: none;
        transition: box-shadow 0.15s ease;
        -webkit-appearance: none;
        appearance: none;
    }

    .m-search-bh .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus,
    .m-search-bh .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus-visible,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus-visible {
        outline: none;
        border-color: var(--h2-search-border) !important;
        box-shadow: 0 0 0 2px var(--h2-search-focus) !important;
    }

    .m-search-bh .site-search .dgwt-wcas-search-wrapp.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
    .m-search-toggled .site-search .dgwt-wcas-search-wrapp.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
        padding-right: 2.25rem;
    }

    .m-search-bh .site-search .dgwt-wcas-open .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
    .m-search-toggled .site-search .dgwt-wcas-open .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
        border-radius: var(--h2-search-radius) !important;
    }

    .m-search-bh .site-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit,
    .m-search-toggled .site-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit,
    .m-search-bh .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
        position: static !important;
        flex: 0 0 var(--h2-search-mobile-btn);
        width: var(--h2-search-mobile-btn) !important;
        min-width: var(--h2-search-mobile-btn) !important;
        height: auto;
        min-height: 42px;
        align-self: stretch;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: var(--h2-search-radius) !important;
        background: var(--h2-search-mobile-btn-bg) !important;
        background-color: var(--h2-search-mobile-btn-bg) !important;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        text-shadow: none !important;
        cursor: pointer;
        opacity: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
    }

    .m-search-bh .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::before,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::before {
        display: none !important;
        content: none !important;
        border: 0 !important;
    }

    .m-search-bh .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover,
    .m-search-bh .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:focus,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:focus {
        opacity: 0.85;
        background: var(--h2-search-mobile-btn-bg) !important;
        outline: none;
    }

    .m-search-bh .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier {
        position: static;
        display: block;
        width: 20px;
        height: 20px;
        max-width: 20px;
        max-height: 20px;
        margin: 0;
    }

    .m-search-bh .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg circle,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg circle,
    .m-search-bh .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg path,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg path {
        fill: none;
        stroke: #fff;
    }


    .m-search-bh .site-search .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader {
        top: 0;
        bottom: 0;
        left: 0;
        right: calc(var(--h2-search-mobile-btn) + var(--h2-search-mobile-gap)) !important;
        width: auto !important;
        height: auto;
        margin: 0;
        z-index: 2;
        background: none;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 0.625rem;
        box-sizing: border-box;
        pointer-events: none;
    }

    .m-search-bh .site-search .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader.dgwt-wcas-close,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader.dgwt-wcas-close {
        pointer-events: auto;
        cursor: pointer;
    }

    .m-search-bh .site-search .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader.dgwt-wcas-close svg,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader.dgwt-wcas-close svg {
        display: block;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .m-search-bh .site-search .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader.dgwt-wcas-close path,
    .m-search-toggled .site-search .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader.dgwt-wcas-close path {
        fill: var(--h2-search-icon);
    }

    .dgwt-wcas-is-ios .m-search-bh .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
    .dgwt-wcas-is-ios .m-search-toggled .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
    .dgwt-wcas-is-ios .m-search-bh .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus,
    .dgwt-wcas-is-ios .m-search-toggled .site-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
        font-size: 16px;
    }
}

.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:hover,
.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus,
.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0.5rem var(--h2-search-input-pr) 0.5rem 1rem;
    font-size: 16px;
    line-height: 1.5;
    color: #1a1a1f;
    background: #fff;
    border: 1px solid var(--h2-search-border);
    border-radius: var(--h2-search-radius);
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus,
.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus-visible,
.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus,
.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus-visible {
    outline: none;
    border-color: var(--h2-search-border);
    box-shadow: 0 0 0 2px var(--h2-search-focus) !important;
}

.dgwt-wcas-om-bar .dgwt-wcas-search-wrapp.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.dgwt-wcas-search-wrapp-mobile.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
    padding-right: var(--h2-search-input-pr-filled);
}

.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,
.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    transform: none;
    width: var(--h2-search-action-w);
    min-width: var(--h2-search-action-w);
    height: 100%;
    min-height: 100%;
    padding: 0;
    border: 0;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    color: var(--h2-search-icon);
}

.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::before,
.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::before {
    display: none;
}

.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier,
.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier {
    position: static;
    display: block;
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
    margin: 0;
}

.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg path,
.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg path,
.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg circle,
.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg circle {
    fill: none;
    stroke: currentColor;
}

.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader,
.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader {
    top: 0;
    right: var(--h2-search-action-w);
    width: var(--h2-search-action-w);
    height: 100%;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader.dgwt-wcas-close path,
.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader.dgwt-wcas-close path {
    fill: var(--h2-search-icon);
}

.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp,
.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp {
    position: relative;
}
