.geo-wrap {
    position: relative;
}

#delivery_address{
    padding-right: 40px;
}

.geo-wrap .geo-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(0, 0, 0, .05);
}

.geo-wrap .geo-icon:hover {
    background: rgba(0, 0, 0, .1);
}

.pac-container {
    z-index: 2147483647 !important;
}

#ac_dropdown{
    top: 38px !important;
}

#ac_dropdown .ac-item {
    font-size: 15px;
}

#ac_dropdown .ac-icon {
    flex: 0 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5f6368;
}

#ac_dropdown .ac-label {
    min-width: 0; /* щоб перенос/ellipsis працювали коректно */
    white-space: normal; /* можна переносити рядки */
}

#ac_dropdown .ac-actions {
    flex: 0 0 44px; /* фіксована “кишеня” під ✕ */
    display: flex;
    align-items: center;
    justify-content: center;
}

#ac_dropdown .ac-remove {
    border: 0;
    color: gainsboro;
    font-size: 14px;
    background: none;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .7;
    cursor: pointer;
}

#ac_dropdown .ac-remove:hover {
    opacity: 1;
    color: #5f6368;
}

#ac_dropdown .ac-item:hover .ac-remove{
    color: #5f6368;
    opacity: 1;
}


#clear_address {
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    color: #5f6368;
    opacity: 0.7;
}

#clear_address:hover {
    opacity: 1;
    color: #202124;
}

.invalid-wrapper #clear_address{
    top: 19px !important;
    right: 20px !important;
}

.invalid-wrapper #delivery_address{
    padding-right: 60px!important;
}
