.tff-delivery-checker {
    width: 100%;
    max-width: 520px;
    margin: 30px auto;
    text-align: center !important;
}

/* Заголовок */
.tff-delivery-checker .tff-delivery-checker-title {
    display: block !important;
    width: 100% !important;
    margin: 0 auto 8px !important;
    padding: 0 !important;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center !important;
}

/* Подзаголовок */
.tff-delivery-checker .tff-delivery-checker-subtitle {
    display: block !important;
    width: 100% !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;

    text-align: center !important;
}

/* Строка ZIP + кнопка */
.tff-delivery-checker .tff-delivery-row {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: stretch;
    justify-content: center;
}

/* ZIP */
.tff-delivery-checker .tff-delivery-zip {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 48px;
    box-sizing: border-box;

    padding: 0 15px;

    border: 1px solid #ccc;
    border-radius: 3px;
}

/* Кнопка */
.tff-delivery-checker .tff-delivery-row button {
    flex: 0 0 auto;
    height: 48px;
    box-sizing: border-box;

    padding: 0 22px;

    border: 0;
    border-radius: 3px;

    cursor: pointer;
}

/* Выпадающий список города */
.tff-delivery-checker .tff-delivery-city-wrap {
    width: 100%;
    margin-top: 12px;
}

.tff-delivery-checker .tff-delivery-city {
    display: block;
    width: 100%;
    height: 48px;
    box-sizing: border-box;

    padding: 0 15px;

    border: 1px solid #ccc;
    border-radius: 3px;
}

/* Результат проверки */
.tff-delivery-checker .tff-delivery-result {
    width: 100%;
    margin-top: 15px;

    font-weight: 700;
    text-align: center !important;
}

.tff-delivery-checker .tff-delivery-result.success {
    color: #4f8f2f;
}

.tff-delivery-checker .tff-delivery-result.error {
    color: #b42318;
}

.tff-delivery-checker .tff-delivery-result.loading {
    opacity: 0.6;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .tff-delivery-checker {
        width: 100% !important;
        max-width: 100% !important;
        margin: 25px auto !important;
        padding: 0 15px;
        box-sizing: border-box;
        text-align: center !important;
    }

    .tff-delivery-checker .tff-delivery-checker-title {
        display: block !important;
        width: 100% !important;

        margin: 0 auto 8px !important;
        padding: 0 !important;

        font-size: 21px;
        line-height: 1.3;
        text-align: center !important;
    }

    .tff-delivery-checker .tff-delivery-checker-subtitle {
        display: block !important;
        width: 100% !important;

        margin: 0 auto 18px !important;
        padding: 0 !important;

        text-align: center !important;
    }

    .tff-delivery-checker .tff-delivery-row {
        width: 100% !important;
        display: flex;
        gap: 8px;
        justify-content: center;
        align-items: stretch;
    }

    .tff-delivery-checker .tff-delivery-zip {
        flex: 1 1 auto;
        width: auto !important;
        min-width: 0;

        height: 48px;
        box-sizing: border-box;
    }

    .tff-delivery-checker .tff-delivery-row button {
        flex: 0 0 auto;

        height: 48px;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .tff-delivery-checker .tff-delivery-city {
        width: 100% !important;
    }

    .tff-delivery-checker .tff-delivery-result {
        width: 100% !important;
        text-align: center !important;
    }
}