#yoko-google-autocomplete-input {
    min-height: 3.25rem;
    width: 100%;
    appearance: none;
    border: none;
    border-bottom:1px solid #d5d9dd;
    transition:var(--transition); 
    padding-left: 2.25rem;
    font-size:var(--preset-id-974b8236-8594-409c-8fd4-b0a408d39c18-font-size); 
    font-weight: var(--preset-id-974b8236-8594-409c-8fd4-b0a408d39c18-font-weight);
    line-height: var(--preset-id-974b8236-8594-409c-8fd4-b0a408d39c18-line-height);
    letter-spacing: var(--preset-id-974b8236-8594-409c-8fd4-b0a408d39c18-letter-spacing);
    background-color: transparent!important;
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.582 18.5834L22.332 22.3334' stroke='%234C5967' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M20.6641 13.1667C20.6641 9.02455 17.3062 5.66669 13.1641 5.66669C9.02193 5.66669 5.66406 9.02455 5.66406 13.1667C5.66406 17.3088 9.02193 20.6667 13.1641 20.6667C17.3062 20.6667 20.6641 17.3088 20.6641 13.1667Z' stroke='%234C5967' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-position: left center;
    background-size: 1.75rem;
    background-repeat: no-repeat;
    outline: none;
    box-shadow: none;
    color: var(--bde-body-text-color);
}
.pac-container:after {
    display: none;
}
.pac-item {
    padding: 10px;
    font-size: 16px;
}
.pac-item .pac-item-query {
    font-size: 16px;
}

/* for new API */
.yoko-google-autocomplete-container #use-my-location {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    margin-left: 7px;
    justify-content: space-between;
    appearance: none;
    background: none;
    border: none;
    font-size: var(--preset-id-974b8236-8594-409c-8fd4-b0a408d39c18-font-size);
    font-weight: var(--preset-id-974b8236-8594-409c-8fd4-b0a408d39c18-font-weight);
    line-height: var(--preset-id-974b8236-8594-409c-8fd4-b0a408d39c18-line-height);
    letter-spacing: var(--preset-id-974b8236-8594-409c-8fd4-b0a408d39c18-letter-spacing);
    gap: 0.8rem;
    padding: 0rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--bde-body-text-color)
}
.yoko-google-autocomplete-container #use-my-location:hover {
    color: #c52d2d;
}
.yoko-google-autocomplete-container #use-my-location:disabled:hover {
    color: #1c1d21;
    opacity: 0.7;
    cursor: not-allowed;
}
.yoko-google-autocomplete-container #use-my-location:hover .icon {
    background-color: #c52d2d;
}
.yoko-google-autocomplete-container #use-my-location.is-loading .icon {
    background-color: transparent;
}
.yoko-google-autocomplete-container #use-my-location .icon {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-block;
    mask-position: center center;
    background-color: #1c1d21;
    vertical-align: middle;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-image:url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.9154 12.7499C16.9154 14.3607 15.6095 15.6666 13.9987 15.6666C12.3879 15.6666 11.082 14.3607 11.082 12.7499C11.082 11.1391 12.3879 9.83325 13.9987 9.83325C15.6095 9.83325 16.9154 11.1391 16.9154 12.7499Z' stroke='%2316191D' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M14.0013 5.66675C10.0893 5.66675 6.91797 8.68163 6.91797 12.4007C6.91797 16.3616 10.6787 18.3841 13.0972 21.1498C13.5653 21.6851 14.4572 21.6995 14.9341 21.1719C17.3911 18.4538 21.0846 16.2849 21.0846 12.4007C21.0846 8.68163 17.9133 5.66675 14.0013 5.66675Z' stroke='%2316191D' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    transition: var(--transition);
}

#yoko-google-autocomplete-container {
    position: relative;
}
#yoko-google-autocomplete-container .placeholder {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translate(0%, -50%);
    font-size: 16px;
    font-weight: 700;
    color: #4C5967;
}
#yoko-google-autocomplete-container:hover .placeholder,
#yoko-google-autocomplete-container gmp-place-autocomplete:focus + .placeholder,
#yoko-google-autocomplete-container .placeholder.hidden
{
    display: none;
}

#yoko-google-autocomplete-container gmp-place-autocomplete{
    color-scheme: light !important;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #d5d9dd;
    background: transparent;
}
.yoko-google-autocomplete-container .yoko-selected-place {
    margin-top: 10px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 4px;
}
.yoko-google-autocomplete-container .yoko-selected-place:hover {
    cursor: pointer;
    color: #4f4f53;
}
.yoko-google-autocomplete-container .yoko-selected-place:hover  .icon-location {
    animation: yoko-icon-bounce 0.5s ease 1;
}

@keyframes yoko-icon-bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-6px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-3px); }
}
.yoko-google-autocomplete-container .icon-location {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-block;
    mask-position: center center;
    background-color: #3f51b5;
    vertical-align: middle;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-image:url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.9154 12.7499C16.9154 14.3607 15.6095 15.6666 13.9987 15.6666C12.3879 15.6666 11.082 14.3607 11.082 12.7499C11.082 11.1391 12.3879 9.83325 13.9987 9.83325C15.6095 9.83325 16.9154 11.1391 16.9154 12.7499Z' stroke='%2316191D' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M14.0013 5.66675C10.0893 5.66675 6.91797 8.68163 6.91797 12.4007C6.91797 16.3616 10.6787 18.3841 13.0972 21.1498C13.5653 21.6851 14.4572 21.6995 14.9341 21.1719C17.3911 18.4538 21.0846 16.2849 21.0846 12.4007C21.0846 8.68163 17.9133 5.66675 14.0013 5.66675Z' stroke='%2316191D' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    transition: var(--transition);
}

.custom-info-window {
    padding: 20px;
    font-family: "Nunito Sans",arial;
    max-width: 300px;
    border-radius:0rem;
}
  .gm-style-iw-chr,
  .gm-style-iw-tc{
    display:none;
  }
.custom-info-window__close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    opacity: 1;
    transition: var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.16797 4.16656L15.8346 15.8332' stroke='%23A7B2BE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15.8346 4.16656L4.16797 15.8332' stroke='%23A7B2BE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-size:20px;
    background-repeat:no-repeat;
    background-position:center center;
}
.custom-info-window__close:hover {
    opacity: 0.5;
}
.custom-info-window__title {
    font-size: 18px;
    line-height:1.55;
    letter-spacing: -0.02em;
    font-weight: bold;
    margin-bottom: 4px;
    padding-right: 32px;
    color: #16191D;
    text-transform:uppercase;
}
.custom-info-window__address,
.custom-info-window__phone{
    font-size: 14px;
    color: #4C5967;
    margin-bottom: 4px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    font-weight:700;
}
.custom-info-window__phone {
    margin-bottom: 12px;
}
.custom-info-window__phone a {
    color: #16181D;
    border-bottom:1px solid;
    text-decoration: none;
    transition: var(--transition);
}
.custom-info-window__phone a:hover {
    color: #C52D2D;
}
.dealers__search-results__item--phone a {
    color: #4C5967;
    text-decoration: none;
    transition: var(--transition);
}
.dealers__search-results__item--phone a:hover {
    color: #C52D2D;
}
.custom-info-window__direction {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: #ffffff;
    border: 1px solid #C52D2D;
    color: #C52D2D;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    line-height:1.5;
    letter-spacing: -0.01em;
    font-weight: bold;
    transition: var(--transition);
}
.custom-info-window__direction:hover {
    background: #C52D2D !important;
    color: #ffffff !important;
}
.gm-style .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 0px !important;
    box-shadow: 0px 8px 16px 0px #16191D14;
}
.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    padding: 0 !important;
}
.gm-style .gm-style-iw-t::after {
    background: linear-gradient(45deg, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 51%, rgba(255,255,255,0) 100%) !important;
}
.gm-ui-hover-effect {
    display: none !important;
}
.dealers__search-results__item--title:hover {
    cursor: pointer;
    color: #C52D2D;
    text-decoration: underline;
}

/* Use my location button loading state */
#use-my-location {
    position: relative;
    transition: opacity 0.2s ease;
}

#yoko-google-autocomplete-container.is-loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #C52D2D;
    border-radius: 50%;
    animation: yoko-btn-spin 0.8s linear infinite;
}
#yoko-google-autocomplete-container.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

#use-my-location.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

#use-my-location.is-loading::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #C52D2D;
    border-radius: 50%;
    animation: yoko-btn-spin 0.8s linear infinite;
}

@keyframes yoko-btn-spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.no-dealers-too-big-radius {
    display: none;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.no-dealers-no-location {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}