.custom-search-pill,
#header .search,
.search,
.search-form,
.siteSearch {
    border: 3px solid #111 !important;
    border-radius: 999px !important;
    background: #f3f3f3 !important;
    padding: 3px 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 54px !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    width: auto !important;
    max-width: 100% !important;
}

.custom-search-pill form,
#header .search form,
.search form,
.search-form form,
.siteSearch form {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    min-height: 0 !important;
    gap: 0 !important;
}

.custom-search-pill input[type="search"],
.custom-search-pill input[type="text"],
#header .search input[type="search"],
#header .search input[type="text"],
.search input[type="search"],
.search input[type="text"],
.search-form input[type="search"],
.search-form input[type="text"],
.siteSearch input[type="search"],
.siteSearch input[type="text"] {
    flex: 1 1 auto !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    height: 42px !important;
    padding: 0 14px 0 46px !important;
    font-size: 15px !important;
    color: #111 !important;
    min-width: 220px !important;
    line-height: 1 !important;
}

.custom-search-pill input::placeholder,
#header .search input::placeholder,
.search input::placeholder,
.search-form input::placeholder,
.siteSearch input::placeholder {
    color: #111 !important;
    opacity: 1 !important;
}

.custom-search-submit {
    height: 42px !important;
    min-width: 118px !important;
    border: 2px solid #111 !important;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 0 18px !important;
    margin: 0 0 0 auto !important;
    cursor: pointer !important;
    transition: .2s !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
}

.custom-search-submit:hover,
.custom-search-submit:focus {
    background: #fff !important;
    color: #111 !important;
    border-color: #111 !important;
}

.custom-search-pill .search-btn-icon,
.custom-search-pill .btn-icon,
.custom-search-pill .icon-search,
.custom-search-pill .magnifier,
.custom-search-pill .search-icon,
.custom-search-pill .search-whisperer,
.custom-search-pill .search-input-icon,
.custom-search-pill .js-search-icon,
.custom-search-pill i,
.custom-search-pill svg:not(.custom-search-svg),
.custom-search-pill .input-group-addon,
.custom-search-pill button svg,
.custom-search-pill button i,
#header .search .search-btn-icon,
#header .search .btn-icon,
#header .search .icon-search,
#header .search .magnifier,
#header .search .search-icon,
#header .search .search-whisperer,
#header .search .search-input-icon,
#header .search .js-search-icon,
#header .search i,
#header .search svg:not(.custom-search-svg),
#header .search .input-group-addon,
#header .search button svg,
#header .search button i,
.search .search-btn-icon,
.search .btn-icon,
.search .icon-search,
.search .magnifier,
.search .search-icon,
.search .search-whisperer,
.search .search-input-icon,
.search .js-search-icon,
.search i,
.search svg:not(.custom-search-svg),
.search .input-group-addon,
.search button svg,
.search button i,
.search-form .search-btn-icon,
.search-form .btn-icon,
.search-form .icon-search,
.search-form .magnifier,
.search-form .search-icon,
.search-form .search-whisperer,
.search-form .search-input-icon,
.search-form .js-search-icon,
.search-form i,
.search-form svg:not(.custom-search-svg),
.search-form .input-group-addon,
.search-form button svg,
.search-form button i,
.siteSearch .search-btn-icon,
.siteSearch .btn-icon,
.siteSearch .icon-search,
.siteSearch .magnifier,
.siteSearch .search-icon,
.siteSearch .search-whisperer,
.siteSearch .search-input-icon,
.siteSearch .js-search-icon,
.siteSearch i,
.siteSearch svg:not(.custom-search-svg),
.siteSearch .input-group-addon,
.siteSearch button svg,
.siteSearch button i {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.custom-search-pill .custom-search-icon,
#header .search .custom-search-icon,
.search .custom-search-icon,
.search-form .custom-search-icon,
.siteSearch .custom-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #111 !important;
    pointer-events: none;
    z-index: 5;
    display: block !important;
}

.custom-search-pill .custom-search-icon svg,
#header .search .custom-search-icon svg,
.search .custom-search-icon svg,
.search-form .custom-search-icon svg,
.siteSearch .custom-search-icon svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
}

@media (max-width: 768px) {
    .custom-search-pill,
    #header .search,
    .search,
    .search-form,
    .siteSearch {
        min-height: 48px !important;
        padding: 2px 5px !important;
    }

    .custom-search-pill input[type="search"],
    .custom-search-pill input[type="text"],
    #header .search input[type="search"],
    #header .search input[type="text"],
    .search input[type="search"],
    .search input[type="text"],
    .search-form input[type="search"],
    .search-form input[type="text"],
    .siteSearch input[type="search"],
    .siteSearch input[type="text"] {
        height: 36px !important;
        font-size: 14px !important;
        padding: 0 10px 0 40px !important;
        min-width: 140px !important;
    }

    .custom-search-submit {
        min-width: 96px !important;
        height: 36px !important;
        font-size: 12px !important;
        padding: 0 14px !important;
    }

    .custom-search-pill .custom-search-icon,
    #header .search .custom-search-icon,
    .search .custom-search-icon,
    .search-form .custom-search-icon,
    .siteSearch .custom-search-icon {
        left: 11px;
        width: 18px;
        height: 18px;
    }

    .custom-search-pill .custom-search-icon svg,
    #header .search .custom-search-icon svg,
    .search .custom-search-icon svg,
    .search-form .custom-search-icon svg,
    .siteSearch .custom-search-icon svg {
        width: 18px !important;
        height: 18px !important;
    }
}