
/* C0047 Water Tech OEM brand + smart search */

/* ---------- top information bar ---------- */

.site-topbar {
    height: 34px !important;
}

.topbar-inner {
    min-height: 34px !important;
    height: 34px !important;
}

.topbar-left,
.topbar-right {
    min-width: 0 !important;
    max-width: 49% !important;
    overflow: hidden !important;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* ---------- brand lockup ---------- */

.header-main-inner {
    grid-template-columns:
        260px
        minmax(390px, 620px)
        minmax(370px, auto)
        !important;
    column-gap: 24px !important;
}

.site-brand-water-tech {
    min-width: 240px !important;
    gap: 12px !important;
    letter-spacing: 0 !important;
}

.site-brand-water-tech .site-brand-logo-wrap {
    width: 62px !important;
    height: 56px !important;
}

.site-brand-water-tech .site-brand-logo-img {
    width: 62px !important;
}

.site-brand-wordmark {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    line-height: 1;
}

.site-brand-water {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: 750;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.site-brand-oem {
    display: block;
    color: #20d4c3;
    font-size: 27px;
    font-weight: 950;
    letter-spacing: 0.1em;
    line-height: 0.95;
    text-shadow: 0 7px 20px rgba(19, 199, 183, 0.18);
}

/* ---------- smart search ---------- */

.site-search-smart {
    position: relative !important;
    z-index: 10100 !important;

    height: auto !important;
    max-width: 620px !important;

    display: block !important;

    overflow: visible !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.site-search-control {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 48px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 5px;

    box-shadow: 0 0 0 0 rgba(19, 199, 183, 0);
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease;
}

.site-search-smart.is-open .site-search-control,
.site-search-smart:focus-within .site-search-control {
    border-color: rgba(32, 212, 195, 0.78);
    box-shadow: 0 0 0 3px rgba(32, 212, 195, 0.14);
}

.site-search-smart input {
    min-width: 0;
    border-radius: 0 !important;
}

.site-search-smart input::-webkit-search-cancel-button {
    cursor: pointer;
}

.site-search-smart button {
    flex: 0 0 112px;
    border-radius: 0 !important;
}

.site-search-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 10120;

    max-height: min(520px, calc(100vh - 150px));
    overflow: auto;

    color: #172231;
    background: #ffffff;
    border: 1px solid #cfd8e2;
    border-radius: 3px;
    box-shadow: 0 18px 44px rgba(9, 18, 30, 0.2);
}

.site-search-panel[hidden] {
    display: none !important;
}

.site-search-panel-body {
    padding: 14px;
}

.header-search-section + .header-search-section {
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid #e1e7ed;
}

.header-search-section-head {
    min-height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.header-search-section-title {
    margin: 0;
    color: #4d5a69;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.header-search-clear {
    padding: 3px 0;
    border: 0;
    color: #147d73;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.header-search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.header-search-chip {
    min-height: 31px;
    max-width: 100%;
    padding: 5px 10px;

    overflow: hidden;

    color: #334255;
    background: #f2f6f8;
    border: 1px solid #d9e1e8;
    border-radius: 2px;

    font-size: 12px;
    font-weight: 650;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;

    cursor: pointer;
}

.header-search-chip:hover,
.header-search-chip:focus-visible {
    color: #0b665f;
    background: #e9f8f5;
    border-color: #67cfc4;
    outline: none;
}

.header-search-results {
    display: grid;
    gap: 5px;
}

.header-search-result {
    width: 100%;
    min-width: 0;
    min-height: 55px;

    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;

    padding: 7px 9px;

    color: #172231;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 2px;

    text-align: left;
    cursor: pointer;
}

.header-search-result:hover,
.header-search-result:focus-visible {
    background: #f4f8fa;
    border-color: #cbd7e1;
    outline: none;
}

.header-search-result-image {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    overflow: hidden;

    background: #f3f6f8;
    border: 1px solid #dde4ea;
}

.header-search-result-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.header-search-result-icon {
    color: #168f85;
    font-size: 19px;
    font-weight: 900;
}

.header-search-result-copy {
    min-width: 0;
}

.header-search-result-label {
    display: block;
    overflow: hidden;
    color: #172231;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-search-result-meta {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #6f7b88;
    font-size: 11px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-search-result-type {
    padding: 3px 6px;
    color: #536170;
    background: #edf2f5;
    border: 1px solid #d9e1e7;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.header-search-empty {
    padding: 22px 10px;
    color: #7a8794;
    font-size: 13px;
    text-align: center;
}

/* ---------- defensive multilingual layout ---------- */

@media (max-width: 1366px) and (min-width: 1101px) {
    .header-main-inner {
        grid-template-columns:
            225px
            minmax(350px, 540px)
            minmax(345px, auto)
            !important;
        column-gap: 16px !important;
    }

    .site-brand-water-tech {
        min-width: 205px !important;
    }

    .site-brand-water-tech .site-brand-logo-wrap {
        width: 54px !important;
    }

    .site-brand-water-tech .site-brand-logo-img {
        width: 54px !important;
    }

    .site-brand-water {
        font-size: 16px;
    }

    .site-brand-oem {
        font-size: 24px;
    }

    .language-rolling-title {
        width: 100px !important;
    }

    .language-pills-v2 a {
        width: 50px !important;
    }
}

@media (max-width: 1100px) {
    .header-main-inner {
        grid-template-columns: 1fr !important;
        gap: 13px !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    .site-brand-water-tech {
        min-width: 0 !important;
    }

    .site-search-smart {
        max-width: none !important;
        justify-self: stretch !important;
    }

    .lang-switch-v2 {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }
}

@media (max-width: 760px) {
    .site-topbar {
        height: auto !important;
    }

    .topbar-inner {
        min-height: 32px !important;
        height: auto !important;
    }

    .topbar-left {
        max-width: 100% !important;
    }

    .topbar-right {
        display: none !important;
    }

    .site-search-smart button {
        flex-basis: 84px;
        width: 84px !important;
    }

    .site-search-result {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .header-search-result-type {
        display: none;
    }
}
