.eshop-wc-slcs-city-select,
.eshop-wc-slcs-state-select {
    width: 100% !important;
    min-height: 48px;
    box-sizing: border-box;
}

.eshop-wc-slcs-hidden-original {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}


/* Match City / Town replacement to the District field look in WooCommerce Checkout Block */
.wc-block-components-text-input.eshop-wc-slcs-has-city-replacement,
.wc-block-components-combobox.eshop-wc-slcs-has-city-replacement,
.wc-block-components-address-form__city.eshop-wc-slcs-has-city-replacement {
    position: relative;
}

.wc-block-components-text-input.eshop-wc-slcs-has-city-replacement .eshop-wc-slcs-city-select,
.wc-block-components-combobox.eshop-wc-slcs-has-city-replacement .eshop-wc-slcs-city-select,
.wc-block-components-address-form__city.eshop-wc-slcs-has-city-replacement .eshop-wc-slcs-city-select {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 18px 42px 8px 16px !important;
    border: 1px solid #6b6b6b !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5l4 4 4-4' fill='none' stroke='%23333333' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 12px !important;
    color: inherit;
    line-height: 1.25 !important;
    box-sizing: border-box;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
    outline: none;
}

.wc-block-components-text-input.eshop-wc-slcs-has-city-replacement label,
.wc-block-components-text-input.eshop-wc-slcs-has-city-replacement .wc-block-components-text-input__label,
.wc-block-components-combobox.eshop-wc-slcs-has-city-replacement label,
.wc-block-components-address-form__city.eshop-wc-slcs-has-city-replacement label {
    position: absolute;
    top: 6px;
    left: 16px;
    transform: none !important;
    font-size: 12px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
    z-index: 2;
    background: transparent !important;
}

.wc-block-components-text-input.eshop-wc-slcs-has-city-replacement .eshop-wc-slcs-hidden-original,
.wc-block-components-combobox.eshop-wc-slcs-has-city-replacement .eshop-wc-slcs-hidden-original,
.wc-block-components-address-form__city.eshop-wc-slcs-has-city-replacement .eshop-wc-slcs-hidden-original {
    position: absolute !important;
}

.wc-block-components-text-input.eshop-wc-slcs-has-city-replacement .eshop-wc-slcs-city-select:focus,
.wc-block-components-combobox.eshop-wc-slcs-has-city-replacement .eshop-wc-slcs-city-select:focus,
.wc-block-components-address-form__city.eshop-wc-slcs-has-city-replacement .eshop-wc-slcs-city-select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 1px #3b82f6 !important;
}
