/* Superon finder layout adapted to Stanvac design tokens. */
.sx-finder-launcher {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1040;

    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 22px;
    border: 0;
    border-radius: 10px 0 0 0;
    background: var(--green);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 26px rgba(20, 22, 26, .2);
    transition: background .2s, opacity .2s;
}

.sx-finder-launcher:hover,
.sx-finder-launcher:focus-visible { background: var(--green-dark); }

.sx-finder-launcher:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.sx-finder-launcher__label {
    font-family: var(--eyebrow);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: .111em;
    line-height: 1.27;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
}

.sx-finder-launcher__i {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: #fff;
}

.sx-finder-launcher[aria-expanded="true"] {
    opacity: 0;
    pointer-events: none;
}

.sx-finder-scrim {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(20, 22, 26, .46);
    opacity: 0;
    transition: opacity .42s cubic-bezier(.4, 0, .2, 1);
}

.sx-finder-scrim.is-open { opacity: 1; }

.sx-finder-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1060;

    width: min(520px, 100%);
    height: 100%;
    height: 100dvh;
    overscroll-behavior: contain;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    background: var(--soft);
    border-left: 1px solid var(--line-2);
    box-shadow: -18px 0 50px rgba(20, 22, 26, .18);

    
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .42s cubic-bezier(.4, 0, .2, 1),
                visibility 0s linear .42s;
}

.sx-finder-panel.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .42s cubic-bezier(.4, 0, .2, 1),
                visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
    .sx-finder-panel,
    .sx-finder-scrim { transition-duration: .01ms; }
}

.sx-finder-panel__body {
    font-family: var(--sans);
    padding: 34px 40px 48px;
}

.sx-finder-close {
    position: sticky;
    top: 0;
    z-index: 1;
    float: right;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 18px 18px 0 0;
    padding: 0;

    border: 0.8px solid var(--line-2);
    border-radius: 19px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .2s, color .2s;
}

.sx-finder-close:hover {
    border-color: var(--green);
    color: var(--green);
}

.sx-finder-close:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.sx-finder__eyebrow {
    margin: 0 0 13px;
    font-family: var(--eyebrow);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--green);
}

.sx-finder__headline {
    margin: 0 0 13px;
    font-family: var(--sans);
    font-size: clamp(28px, 5.4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.026em;
    line-height: 1.06;
    color: var(--ink);
}

.sx-finder__subhead {
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--body);
}

.sx-finder__search {
    display: flex;
    height: auto;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 20px;
    background: #fff;
    border: 0.8px solid var(--line-2);
    border-radius: 12px;
    transition: border-color .2s;
}

.sx-finder__search:focus-within { border-color: var(--green); }

.sx-finder__search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.sx-finder__search-icon {
    flex: 0 0 auto;
    color: var(--muted);
}

.sx-finder__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--sans);
    font-size: 16px; 
    color: var(--ink);
}

.sx-finder__input::placeholder {
    color: var(--body);
    text-overflow: ellipsis;
}

.sx-finder__input:focus { outline: none; }

.sx-finder__submit {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 26px;
    border: 0;
    border-radius: 6px;
    background: var(--green);
    color: #fff;
    font-family: var(--eyebrow);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
}

.sx-finder__submit:hover { background: var(--green-dark); }

.sx-finder__submit:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.sx-finder__lanes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.sx-finder-lane {
    background: #fff;
    border: 0.8px solid var(--line-2);
    border-radius: 12px;
    overflow: hidden;
}

.sx-finder-lane__h {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.sx-finder-lane__toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    transition: background .2s;
}

.sx-finder-lane__toggle:hover { background: var(--soft); }

.sx-finder-lane__toggle:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: -2px;
}

.sx-finder-lane__i {
    flex: 0 0 auto;
    font-family: var(--eyebrow);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .13em;
    color: var(--green);
}

.sx-finder-lane__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1 1 auto;
}

.sx-finder-lane__title {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .07em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--ink);
}

.sx-finder-lane__note {
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--muted);
}

.sx-finder-lane__caret {
    flex: 0 0 auto;
    color: var(--muted);
    transition: transform .2s, color .2s;
}

.sx-finder-lane__toggle[aria-expanded="true"] .sx-finder-lane__caret {
    transform: rotate(180deg);
    color: var(--green);
}

.sx-finder-lane__panel {
    padding: 0 18px 16px;
    border-top: 0.8px solid var(--line);
}

.sx-finder-opts {
    --sx-opt-h: 40px;

    margin: 0;
    padding: 0;
    list-style: none;
    max-height: calc(var(--sx-opt-h) * 8);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sx-finder-opts::-webkit-scrollbar { width: 6px; }

.sx-finder-opts::-webkit-scrollbar-track { background: transparent; }

.sx-finder-opts::-webkit-scrollbar-thumb {
    background: var(--line-2);
    border-radius: 3px;
}

.sx-finder-opts::-webkit-scrollbar-thumb:hover { background: var(--input); }

.sx-finder-opts {
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
}

.sx-finder-opts li + li .sx-finder-opt { border-top: 0.8px solid var(--line); }

.sx-finder-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 2px;

    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
    text-decoration: none;
    transition: color .2s, padding-left .2s;
}

.sx-finder-opt svg {
    flex: 0 0 auto;
    color: var(--muted);
    transition: color .2s, transform .2s;
}

.sx-finder-opt:hover {
    color: var(--green);
    padding-left: 5px;
    text-decoration: none;
}

.sx-finder-opt:hover svg {
    color: var(--green);
    transform: translateX(2px);
}

.sx-finder-opt:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: -2px;
}

.sx-finder-lane--process .sx-finder-opt {
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sx-finder-opt--caps {
    letter-spacing: .04em;
}

.sx-finder-lane__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: none;

    font-family: var(--eyebrow);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green);
    text-decoration: none;
    cursor: pointer;
}

.sx-finder-lane__all:hover {
    color: var(--green);
    text-decoration: underline;
}

.sx-finder-lane__all:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.sx-finder-lane__all svg { transition: transform .2s; }

.sx-finder-lane__all.is-open svg { transform: rotate(90deg); }

.sx-finder-lane__count {
    font-weight: 400;
    letter-spacing: .08em;
    color: var(--muted);
}

.sx-finder__helper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 26px;
    padding: 18px 22px;

    background: var(--pale);
    border: 0.8px solid var(--line-2);
    border-radius: 10px;
}

.sx-finder__helper-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sx-finder__helper-1 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
}

.sx-finder__helper-2 {
    font-size: 14.5px;
    line-height: 1.4;
    color: var(--body);
}

.sx-finder__helper-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--eyebrow);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--green);
    text-decoration: none;
}

.sx-finder__helper-cta:hover {
    color: var(--green);
    text-decoration: underline;
}

.sx-finder__helper-cta:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .sx-finder-launcher {
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        right: 12px;
        padding: 12px 18px;
        border-radius: 26px;
    }

    .sx-finder-launcher__label {
        font-size: 11px;
        letter-spacing: .1em;
    }

    .sx-finder-launcher__i {
        width: 13px;
        height: 13px;
    }

    
    .sx-finder-panel__body { padding: 18px 18px 36px; }

    .sx-finder-close { margin: 12px 12px 0 0; }

    .sx-finder__eyebrow { margin-bottom: 8px; }

    .sx-finder__headline {
        margin-bottom: 8px;
        font-size: 23px;
        letter-spacing: -0.022em;
    }

    .sx-finder__subhead {
        margin-bottom: 14px;
        font-size: 13.5px;
        line-height: 1.4;
    }

    
    .sx-finder__search {
        gap: 8px;
        padding: 5px 5px 5px 14px;
    }

    .sx-finder__input {
        flex: 1 1 auto;
        height: 44px;
        padding: 0 2px;
        
        font-size: 16px;
    }

    .sx-finder__submit {
        height: 44px;
        padding: 0 16px;
        border-radius: 6px;
        font-size: 11px;
        letter-spacing: .1em;
    }

    .sx-finder__lanes {
        gap: 8px;
        margin-top: 12px;
    }

    
    .sx-finder-lane__toggle {
        gap: 11px;
        padding: 11px 14px;
    }

    .sx-finder-lane__title { font-size: 13px; }

    .sx-finder-lane__note {
        font-size: 11.5px;
        line-height: 1.35;
    }

    .sx-finder-lane__panel { padding: 0 14px 12px; }

    .sx-finder-opt { padding: 9px 2px; font-size: 13px; }

    .sx-finder-opts { --sx-opt-h: 35px; }

    .sx-finder__helper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 16px;
        padding: 14px 16px;
    }
}

@media (max-width: 420px) {
    .sx-finder-panel { width: 100%; }
}

body.sx-finder-open { overflow: hidden; }

/* Shared results and autocomplete use the same storefront tokens. */
.sx-search-page__banner { padding: 40px 0 28px; background: var(--soft); border-bottom: 1px solid var(--line); }
.sx-search-page__banner .breadcrumb { color: var(--muted); font-size: 13px; }
.sx-search-page__banner h1 { margin: 14px 0; color: var(--forest); font: 700 clamp(26px, 4vw, 40px)/1.15 var(--sans); overflow-wrap: anywhere; }
.search-results { padding: 32px 0 72px; }
.search-results .products_inner { padding: 0; }
.sx-search-page__empty { margin: 0 auto; }
.sx-suggest[hidden], .sx-finder-scrim[hidden] { display: none; }
.sx-suggest__hit { background: var(--pale); color: var(--ink); }
.sx-suggest__all.is-active { background: var(--soft); }
.sx-suggest__name, .sx-suggest__ctx { overflow-wrap: anywhere; }
.sx-finder-launcher[aria-expanded="true"] { visibility: hidden; }
.sx-finder-panel__body { padding-bottom: max(48px, env(safe-area-inset-bottom, 0px)); }
.sx-finder-close { width: 44px; height: 44px; }
.sx-finder-lane__all, .sx-finder__helper-cta { min-height: 44px; }
.sx-finder-lane--process .sx-finder-opt { text-transform: none; }
@media (max-width: 1199px) and (min-width: 1024px) {
    .nav__actions .search { width: 175px; }
    .nav__actions .btn--nav { padding: 0 12px; }
    .nav__links { gap: 14px; font-size: 14px; }
}
@media (max-width: 767px) {
    .sx-finder-launcher { min-height: 44px; }
    .sx-finder-panel__body { padding-bottom: max(36px, env(safe-area-inset-bottom, 0px)); }
    .sx-finder-opt { min-height: 44px; }
    .sx-finder-opts { --sx-opt-h: 44px; }
    .sx-search-page__banner { padding-top: 28px; }
    .sx-suggest__ctx { display: block; margin-left: 0; font-size: 12px; }
    .sx-suggest__ctx::before { content: none; }
}
