.site-header .masthead {
    position: relative;
}

.site-header .masthead .brand-glyph {
    filter: drop-shadow(0 0 9px #1df2fc90) drop-shadow(0 0 19px #147bd74d);
}

.header-light-trail {
    position: absolute;
    z-index: 2;
    inset: auto 0 -11px;
    width: 100%;
    height: 28px;
    pointer-events: none;
}

.header-light-halo {
    stroke-width: 7;
    filter: blur(5px);
    opacity: .7;
}

.header-light-thread {
    stroke-width: 1.2;
    opacity: .48;
}

.header-light-core {
    stroke-width: 2.4;
}

.header-light-chrome {
    stroke: url(#header-light-chrome);
    stroke-width: 1.1;
}

.header-light-sweep {
    stroke: #ddffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 12 110;
    opacity: 0;
    filter: drop-shadow(0 0 4px #5fefff);
}

.site-header .head-search {
    position: relative;
    box-shadow: 0 0 17px #11d9f21a, inset 0 1px 0 #80efff39;
}

.site-header .head-search::after {
    content: "";
    position: absolute;
    top: 0;
    right: 9%;
    width: 38%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #81eeff96 68%, #e2feff 91%, transparent);
    box-shadow: 0 0 7px #33e2fb;
    pointer-events: none;
}

.site-header .head-search:focus-within {
    outline: 2px solid var(--cyan, #03dcf5);
    outline-offset: 2px;
    box-shadow: 0 0 20px #28e7fb5c, 0 0 28px #9436f040, inset 0 1px 0 #adf8ff;
}

.hero-search:focus-within {
    outline: 2px solid #c2faff;
    outline-offset: 3px;
    box-shadow: 0 0 30px #24dcf578, 0 0 38px #a52df454;
}

.hero-advisor:focus-visible,
.filter-submit:focus-visible,
.hero-search button:focus-visible {
    outline: 2px solid #e0ffff;
    outline-offset: 3px;
}

.product-card:focus-within {
    border-color: #5aeaff;
    box-shadow: 0 0 22px #16cde046, 0 9px 24px #0008;
}

.product-card::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 8% auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5ff2ff 32%, #a461ff 77%, transparent);
    box-shadow: 0 0 10px #32dcfc91;
    opacity: 0;
    pointer-events: none;
}

.product-card:focus-within::before {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .product-card:hover::before {
        opacity: 1;
    }

    .nav-row > a:hover,
    .hero-saving-links a:hover {
        box-shadow: inset 0 -1px 0 #59ebffb5, 0 0 13px #24cef438;
    }

    .hero-advisor:hover,
    .filter-submit:hover,
    .hero-search button:hover {
        box-shadow: inset 0 1px 0 #e1ffff90, 0 0 20px #8a4cfd70;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .product-card::before {
        transition: opacity .18s ease-out;
    }

    .header-light-sweep {
        animation: header-light-pass 1.35s .1s ease-out both;
    }

    @keyframes header-light-pass {
        0% { stroke-dashoffset: 13; opacity: 0; }
        18% { opacity: .9; }
        78% { opacity: .65; }
        100% { stroke-dashoffset: -102; opacity: 0; }
    }
}

@media (max-width: 710px) {
    .site-header .masthead {
        flex-wrap: wrap;
        padding-block: 8px 14px;
    }

    .site-header .head-search {
        display: flex;
        order: 1;
        flex: 0 0 100%;
        height: 42px;
    }

    .site-header .head-search input {
        font-size: 16px;
    }

    .header-light-trail {
        bottom: -7px;
        height: 20px;
    }
}
