/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Aug 10 2026 | 19:18:15 */
/* =========================================================
   GranoFactura — оформление города и пункта выдачи
   ========================================================= */

/* Скрываем страну и область только визуально.
   Поля остаются в DOM и продолжают работать. */
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_state_field {
    display: none !important;
}

/* Контейнер поля населённого пункта */
body.woocommerce-checkout
#billing_city_field
.woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
}

/* Видимое поле выбора города */
body.woocommerce-checkout
#billing_city_field
button.esl_city_button,
body.woocommerce-checkout
#shipping_city_field
button.esl_city_button {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;

    padding: 0 14px !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    border: 1px solid #dddddd !important;
    border-radius: 2px !important;
    box-shadow: none !important;

    color: #333333 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 42px !important;
    text-align: left !important;

    cursor: pointer !important;
}

/* Подсказка внутри пустого поля города */
body.woocommerce-checkout
.esl_city_button
.esl-city-name:empty::before {
    content: "Введите ваш город";
    color: #9a8f87;
    font-size: 14px;
    font-weight: 400;
}

/* Выбранный город */
body.woocommerce-checkout
.esl_city_button
.esl-city-name {
    color: #333333 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

/* Наведение на поле города */
body.woocommerce-checkout
#billing_city_field
button.esl_city_button:hover,
body.woocommerce-checkout
#shipping_city_field
button.esl_city_button:hover {
    background: #ffffff !important;
    border-color: #cfcfcf !important;
}

/* Фокус поля города */
body.woocommerce-checkout
#billing_city_field
button.esl_city_button:focus,
body.woocommerce-checkout
#shipping_city_field
button.esl_city_button:focus {
    background: #ffffff !important;
    border-color: #b8a99d !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Иконка города справа */
body.woocommerce-checkout
.esl_city_button
svg {
    margin-left: auto !important;
    opacity: 0.55 !important;
}

/* =========================================================
   Кнопка выбора пункта выдачи
   ========================================================= */

body.woocommerce-checkout
#gf-esl-mini-box
button.gf-esl-mini-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 46px !important;
    padding: 12px 20px !important;

    background: #2f6b4f !important;
    border: 1px solid #2f6b4f !important;
    border-radius: 3px !important;

    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    text-align: center !important;

    box-shadow: none !important;
    cursor: pointer !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease !important;
}

/* Наведение на кнопку */
body.woocommerce-checkout
#gf-esl-mini-box
button.gf-esl-mini-btn:hover {
    background: #224f3b !important;
    border-color: #224f3b !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Нажатие */
body.woocommerce-checkout
#gf-esl-mini-box
button.gf-esl-mini-btn:active {
    transform: translateY(0);
}

/* Фокус с клавиатуры */
body.woocommerce-checkout
#gf-esl-mini-box
button.gf-esl-mini-btn:focus-visible {
    outline: 3px solid rgba(47, 107, 79, 0.25) !important;
    outline-offset: 2px !important;
}