
/* =========================================================
   КАСТОМНЫЙ БЛОК «НИЧЕГО НЕ НАЙДЕНО»
========================================================= */

.js-catalog-empty-part-msg.land-empty-ready {
    width: 100% !important;
    max-width: none !important;

    padding: 0 !important;
    margin: 20px 0 0 !important;

    border: 0 !important;
    background: transparent !important;
}

/* Оригинальное сообщение Tilda сохраняем, но скрываем */
.js-catalog-empty-part-msg.land-empty-ready
.t-catalog__empty-part-msg-wrapper {
    display: none !important;
}

/* Основной блок */
.land-empty-state {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 470px;

    padding: 60px 40px;
    box-sizing: border-box;

    overflow: hidden;

    border-radius: 20px;

    background-image:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.99) 28%,
            rgba(255, 255, 255, 0.9) 44%,
            rgba(255, 255, 255, 0.45) 58%,
            rgba(255, 255, 255, 0) 75%
        ),
        url("/tilda-assets/tild3736-3131-4239-b139-373430316461__frame_743.png?v=1789425085");

    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
}

/* Контент */
.land-empty-state__content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 600px;
}

/* Заголовок на ПК */
.land-empty-state__title {
    max-width: 670px;

    margin: 0;

    color: #272524;

    font-family: var(--t-headline-font, Arial), sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.7px;
    text-transform: uppercase;
}

/* Связываем слова, чтобы они не разделялись */
.land-empty-state__nowrap {
    white-space: nowrap;
}

/* Описание */
.land-empty-state__text {
    max-width: 500px;

    margin: 30px 0 0;

    color: #272524;

    font-family: var(--t-text-font, Arial), sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.25;
}

/* Кнопка сброса */
.land-empty-state__button {
    display: inline-flex;
    align-items: center;

    min-width: 275px;
    min-height: 48px;

    padding: 3px 28px 3px 3px;
    margin: 30px 0 0;
    box-sizing: border-box;

    border: 1px solid #ff3b30;
    border-radius: 999px;

    background: #ffffff;
    color: #ff3b30;

    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.land-empty-state__button:hover {
    background: #fff6f5;
    transform: translateY(-1px);
}

/* Красный круг с иконкой */
.land-empty-state__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    margin-right: 28px;

    border-radius: 50%;

    background: #ff3b30;
    color: #ffffff;
}

.land-empty-state__button-icon svg {
    display: block;

    width: 21px;
    height: 21px;
}

/* =========================================================
   ПЛАНШЕТЫ
========================================================= */

@media screen and (max-width: 960px) {

    .land-empty-state {
        min-height: 430px;
        padding: 45px 30px;

        background-position: 60% center;
    }

    .land-empty-state__content {
        max-width: 420px;
    }

    .land-empty-state__title {
        max-width: 420px;

        font-size: 30px;
    }
}

/* =========================================================
   МОБИЛЬНЫЕ
========================================================= */

@media screen and (max-width: 640px) {

    .js-catalog-empty-part-msg.land-empty-ready {
        margin-top: 15px !important;
    }

    .land-empty-state {
        align-items: flex-start;

        min-height: 520px;

        padding: 28px 22px;

        border-radius: 16px;

        background-image:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 1) 0%,
                rgba(255, 255, 255, 0.98) 40%,
                rgba(255, 255, 255, 0.78) 58%,
                rgba(255, 255, 255, 0.05) 82%
            ),
            url("/tilda-assets/tild3736-3131-4239-b139-373430316461__frame_743.png?v=1789425085");

        background-position: 67% bottom;
        background-size: auto 100%;
    }

    .land-empty-state__content {
        max-width: 100%;
    }

    /* Заголовок на мобильных — 24px */
    .land-empty-state__title {
        max-width: 100%;

        font-size: 24px;
        line-height: 1;
        letter-spacing: -0.5px;
    }

    .land-empty-state__text {
        max-width: 310px;

        margin-top: 20px;

        font-size: 14px;
    }

    .land-empty-state__button {
        min-width: 250px;
        min-height: 46px;

        margin-top: 22px;
        padding-right: 22px;

        font-size: 13px;
    }

    .land-empty-state__button-icon {
        flex-basis: 38px;

        width: 38px;
        height: 38px;

        margin-right: 20px;
    }
}

/* =========================================================
   ЭКРАНЫ ДО 480 PX
========================================================= */

@media screen and (max-width: 480px) {

    .land-empty-state {
        min-height: 500px;

        padding: 24px 18px;

        background-position: 65% bottom;
    }

    .land-empty-state__title {
        font-size: 24px;
    }

    .land-empty-state__button {
        width: 100%;
        min-width: 0;
        max-width: 280px;
    }
}
