.custom-search-ui form{
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    padding: 30px;
    background-color: #EEF1F6;
    @media screen and (max-width: 991px) {
        align-items: flex-end;
    }
    @media screen and (max-width: 640px) {
        align-items: flex-end;
        justify-content: center;
        flex-wrap: wrap;
    }
    .filter-fields {
        display: flex;
        align-items: center;
        gap: 20px;
        @media screen and (max-width: 640px) {
            gap: 5px;
        }
    }
    .field-group-wrapper {
        display: flex;
        align-items: center;
        gap: 20px;
        @media screen and (max-width: 991px) {
            flex-direction: column;
            align-items: stretch;
        }
        @media screen and (max-width: 640px) {
            gap: 5px;
        }
    }
    .field-group {
        display: flex;
        align-items: center;
        gap: 10px;

        padding: 3px 18px;
        border: 1px solid #C3C8D4;
        border-radius: 4px;
        background: #fff;

        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .field-group:focus-within {
        border-color: #6F96D1;
        box-shadow: 0 0 0 3px rgba(111, 150, 209, 0.15);
    }

    .field-group .gps-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #custom-location-input {
        border: none;
        outline: none;
        box-shadow: none;
        background: transparent;
        width: 100%;
        font-size: 14px;
        border-left: 1px solid #C3C8D4;

        &:focus,
        &:focus-visible {
            outline: none;
            box-shadow: none;
        }
    }
    label {
        font-size: 14px;
        font-family: var(--wp--preset--font-family--source-sans-pro, "Source Sans Pro", sans-serif);
        font-weight: 400;
    }
    #custom-radius {
        border: 1px solid #C3C8D4;
        border-radius: 4px;
        background: #fff;
        padding: 11px 10px;
        outline: none;
        font-size: 14px;
        font-family: var(--wp--preset--font-family--source-sans-pro, "Source Sans Pro", sans-serif);
    }
    #custom-search-btn {
        font-family: var(--wp--preset--font-family--source-sans-pro, "Source Sans Pro", sans-serif);
        padding: 5px 38px;
        font-weight: 400;
        line-height: 26px !important;
        transition: background-color 0.2s ease;
        @media (hover: hover) and (pointer: fine) {
            &:hover {
                background-color: #DF1524 !important;
            }
        }
    }
}
.wpsl-native-ui-hidden {
    position: absolute;
    left: -9999px;
    top: -9999px;
}
#wpsl-radius {
    visibility: hidden;
}
#custom-radius-wrapper {
    min-width: 140px;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    > * {
        flex: 1;
    }
    @media screen and (max-width: 991px) {
        flex-direction: column;
        align-items: stretch;
        min-width: 76px;
    }
    @media screen and (max-width: 640px) {
        gap: 5px;
    }
}

#wpsl-stores {
    .wpsl-no-results-msg {
        display: none;
    }
    .store-card {
        background: #fff;
        border-radius: 10px;
        margin-bottom: 5px;
        border: 1px solid #C3C8D4;
        @media screen and (max-width: 480px) {
            width: 345px;
        }
    }

    .store-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
        padding-left: 20px;
        padding-right: 20px;
        &.store-row-1 {
            background-color: rgba(238, 241, 246, 0.6);
            padding-top: 20px;
            padding-bottom: 10px;
            .store-name {
                font-size: 20px;
                font-weight: 600;
                font-family: var(--wp--preset--font-family--source-serif-pro, "Source Serif Pro", serif);
            }
        }
        &.store-row-2, &.store-row-3, &.store-row-4 {
            justify-content: flex-start;
            gap: 10px;
        }
        .store-distance, .store-address {
            font-size: 14px;
            font-family: var(--wp--preset--font-family--source-sans-pro, "Source Sans Pro", sans-serif);
            font-weight: 400;
        }
        .store-phone {
            a {
                font-size: 18px;
                font-family: var(--wp--preset--font-family--source-serif-pro, "Source Serif Pro", serif);
                font-weight: 700;
                text-decoration: none;
            }
        }
        &.store-row-4 {
            flex-wrap: wrap;
            @media screen and (max-width: 480px) {
                justify-content: space-between;
            }
            @media screen and (max-width: 380px) {
                padding: 0 15px;
            }
            .store-btn {
                padding: 8px 24px;
                border-radius: 100px;
                font-size: 16px;
                font-family: var(--wp--preset--font-family--source-sans-pro, "Source Sans Pro", sans-serif);
                font-weight: 400;
                text-decoration: none;
                color: #fff;
                background-color: var(--wp--preset--color--red, #c2121f);
                border: 1px solid var(--wp--preset--color--red, #c2121f);
                transition: background-color 0.2s ease;
                @media (hover: hover) and (pointer: fine) {
                    &:hover {
                        background-color: #DF1524;
                    }
                }
                @media screen and (max-width: 382px) {
                    padding: 5px 15px;
                }
                @media screen and (max-width: 340px) {
                    padding: 5px 13px;
                }
            }
            .store-btn.secondary {
                background-color: transparent;
                color: var(--wp--preset--color--red, #c2121f);
                border: 1px solid var(--wp--preset--color--red, #c2121f);
                @media (hover: hover) and (pointer: fine) {
                    &:hover {
                        background-color: #DF1524;
                        color: #fff;
                    }
                }
            }
        }
    }
}

#wpsl-wrap #wpsl-result-list li {
    border: none;
    padding-bottom: 16px;
    padding-top: 0;
    padding-left: 10px;
    @media screen and (max-width: 991px) {
        padding-bottom: 5px;
        .store-card {
            margin-bottom: 10px;
        }
    }
    @media screen and (max-width: 480px) {
        padding-left: 0;
        padding-right: 0;
        display: flex;
        justify-content: center;
    }
}
#wpsl-result-list {
    padding: 24px 5px 24px 10px;
    @media screen and (max-width: 991px) {
        padding: 0 10px;
    }
    @media screen and (max-width: 480px) {
        padding: 0 20px;
    }
}

#wpsl-result-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
}

#wpsl-reset-search {
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}
.wpsl-icon-reset {
    display: none !important;
}
#wpsl-result-summary {
    padding: 0 10px;
}

.wpsl-layout {
    @media screen and (max-width: 991px) {
        display: flex;
        flex-direction: column-reverse;
        > * {
            width: 100% !important;
        }
        #wpsl-result-list {
            padding: 24px 20px;
            #wpsl-stores {
                height: min(100%, 70vh) !important
            }
        }
    }
}

/* Info Window Map */
.gm-style-iw {
    padding-left: 15px !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    padding-right: 15px !important;
    max-width: 259px !important;
    .gm-style-iw-chr {
        display: none;
        .gm-style-iw-ch {
            display: none;
        }
    }
    .gm-style-iw-d {
        overflow: auto !important;
        .iw-store-card {
            display: flex;
            flex-direction: column;
            gap: 10px;
            .iw-store-row-1 {
                position: relative;
                .iw-store-name {
                    font-size: 18px;
                    font-family: var(--wp--preset--font-family--source-serif-pro, "Source Serif Pro", serif);
                    font-weight: 700;
                    color: #262626;
                }
                .iw-close-window {
                    position: absolute;
                    top: 0;
                    right: 0;
                    font-size: 16px;
                    font-family: var(--wp--preset--font-family--source-sans-pro, "Source Sans Pro", sans-serif);
                    font-weight: 600;
                    color: #262626;
                    cursor: pointer;
                    background: none;
                    display: block;
                    border: 0px;
                    margin: 0px;
                    padding: 0px;
                    text-transform: none;
                    appearance: none;
                    cursor: pointer;
                    user-select: none;
                }
            }
            .iw-store-row-2 {
                display: flex;
                align-items: flex-start;
                gap: 10px;
                .iw-store-icon {
                    margin-top: 3px;
                }
                .iw-store-place-info {
                    display: flex;
                    flex-direction: column;
                    gap: 4px;
                    .iw-store-address {
                        font-size: 16px;
                        font-family: var(--wp--preset--font-family--source-sans-pro, "Source Sans Pro", sans-serif);
                        font-weight: 400;
                    }
                    .iw-store-phone {
                        font-size: 18px;
                        font-family: var(--wp--preset--font-family--source-sans-pro, "Source Sans Pro", sans-serif);
                        font-weight: 600;
                        a {
                            color: #262626;
                            text-decoration: none;
                        }
                    }
                }
            }
            .iw-store-row-4 {
                padding-left: 10px;
                padding-right: 10px;
                display: flex;
                justify-content: space-between;
                flex-wrap: wrap;
                gap: 10px;
                .iw-store-btn {
                    background-color: transparent;
                    color: var(--wp--preset--color--red, #C2121F);
                    text-decoration: underline;
                    font-size: 16px;
                }
            }
        }
    }
}

div[title="Start location"] {
    > * {
        display: none !important;
        height: 0 !important;
        width: 0 !important;
    }
    height: 0 !important;
    width: 0 !important;
    display: none !important;
}

#wpsl-gmap img[src*="dark-blue@2x"] {
    display: none !important;
}

.second-row.is-empty {
  display: none;
}