

/* ==========================================
   ОСНОВА БЛОКА
   ========================================== */

/* Убираем боковые отступы Elementor только у контейнера баннера */
.e-con:has(> .elementor-widget-html .gazan-merch) {
    --padding-inline-start: 0px !important;
    --padding-inline-end: 0px !important;
    gap: 0 !important;
}

.e-con:has(> .elementor-widget-html .gazan-merch)
> .elementor-widget-html {
    width: 100% !important;
    max-width: 100% !important;
}

.gazan-merch,
.gazan-merch * {
    box-sizing: border-box;
}

.gazan-merch {
    --gazan-merch-dark: #0b0a0c;
    --gazan-merch-dark-soft: #171317;
    --gazan-merch-light: #f3f3f2;
    --gazan-merch-red: #c9122f;
    --gazan-merch-pink: #f03956;

    position: relative;

    width: 100%;

    padding: 72px 0 82px;

    font-family:
        "Gazan Sans",
        Arial,
        sans-serif;
}


/* ==========================================
   ОСНОВНАЯ КАРТОЧКА
   ========================================== */

.gazan-merch__card {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 37%)
        minmax(0, 63%);

    width: 100%;
    max-width: 1320px;
    min-height: 510px;

    margin: 0 auto;

    overflow: hidden;

    border:
        1px solid
        rgba(15, 15, 17, 0.12);

    border-radius: 26px;

    background:
        var(--gazan-merch-dark);

    box-shadow:
        0 22px 60px
        rgba(15, 15, 20, 0.18);
}


/* ==========================================
   ЛЕВАЯ ТЕКСТОВАЯ ЧАСТЬ
   ========================================== */

.gazan-merch__content {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    min-width: 0;

    padding: 58px 26px 58px 58px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 0% 15%,
            rgba(228, 20, 59, 0.18) 0%,
            rgba(228, 20, 59, 0) 38%
        ),
        linear-gradient(
            135deg,
            #191419 0%,
            #0b0a0c 58%,
            #09090a 100%
        );
}


/* ==========================================
   МАЛЕНЬКАЯ ПОДПИСЬ
   ========================================== */

.gazan-merch__label {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin: 0 0 22px;

    color: #f2dfe4;

    font-size: 12px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.gazan-merch__label-dot {
    display: block;

    width: 9px;
    height: 9px;

    flex: 0 0 9px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--gazan-merch-red),
            var(--gazan-merch-pink)
        );

    box-shadow:
        0 0 16px
        rgba(240, 57, 86, 0.7);
}


/* ==========================================
   ЗАГОЛОВОК
   ========================================== */

.gazan-merch__title {
    display: flex;
    flex-direction: column;

    margin: 0;

    color: #ffffff;

    font-family:
        "Gazan Sans",
        Arial,
        sans-serif;

    font-size:
        clamp(
            46px,
            4.3vw,
            66px
        );

    font-weight: 900;

    line-height: 0.94;

    letter-spacing: -2.8px;

    text-transform: uppercase;
}

.gazan-merch__title-accent {
    display: block;

    padding-top: 8px;

    color: var(--gazan-merch-pink);

    background:
        linear-gradient(
            90deg,
            #c9122f 0%,
            #f03956 55%,
            #ff7187 100%
        );

    background-clip: text;
    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(
            0 8px 20px
            rgba(201, 18, 47, 0.24)
        );
}


/* ==========================================
   АКЦЕНТНАЯ ЛИНИЯ
   ========================================== */

.gazan-merch__line {
    width: 54px;
    height: 4px;

    margin: 27px 0 23px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--gazan-merch-red),
            var(--gazan-merch-pink)
        );
}


/* ==========================================
   ОПИСАНИЕ
   ========================================== */

.gazan-merch__description {
    max-width: 390px;

    margin: 0 0 32px;

    color:
        rgba(
            255,
            255,
            255,
            0.76
        );

    font-size: 16px;
    font-weight: 500;

    line-height: 1.55;

    letter-spacing: 0;
}


/* ==========================================
   КНОПКА
   ========================================== */

.gazan-merch__button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    min-width: 235px;
    min-height: 58px;

    padding: 15px 25px;

    overflow: hidden;

    color: #ffffff !important;

    font-family:
        "Gazan Sans",
        Arial,
        sans-serif;

    font-size: 14px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: 0.7px;

    text-decoration: none !important;
    text-transform: uppercase;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 100px;

    background:
        linear-gradient(
            100deg,
            var(--gazan-merch-red) 0%,
            var(--gazan-merch-pink) 100%
        );

    box-shadow:
        0 14px 30px
        rgba(201, 18, 47, 0.29);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.gazan-merch__button::before {
    content: "";

    position: absolute;

    top: -50%;
    bottom: -50%;
    left: -45%;

    width: 28%;

    transform: rotate(18deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.28),
            transparent
        );

    transition: left 0.55s ease;
}

.gazan-merch__button > span {
    position: relative;
    z-index: 2;
}

.gazan-merch__button-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 23px;
    font-weight: 500;

    line-height: 1;

    transition:
        transform 0.25s ease;
}

.gazan-merch__button:hover {
    color: #ffffff !important;

    transform:
        translateY(-3px);

    filter:
        brightness(1.06);

    box-shadow:
        0 18px 38px
        rgba(201, 18, 47, 0.39);
}

.gazan-merch__button:hover::before {
    left: 125%;
}

.gazan-merch__button:hover
.gazan-merch__button-arrow {
    transform:
        translateX(4px);
}

.gazan-merch__button:focus-visible {
    outline:
        3px solid
        rgba(240, 57, 86, 0.4);

    outline-offset: 4px;
}


/* ==========================================
   ПРАВАЯ ЧАСТЬ С МЕРЧЕМ
   ========================================== */

.gazan-merch__visual {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;

    padding: 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 58% 42%,
            #ffffff 0%,
            #ededee 47%,
            #d0d0d3 100%
        );
}


/* Диагональное соединение двух частей */

.gazan-merch__visual::before {
    display: none;
}


/* Большое фоновое число */

.gazan-merch__number {
    position: absolute;
    z-index: 0;

    right: 3%;
    bottom: -11%;

    color:
        rgba(
            15,
            15,
            17,
            0.055
        );

    font-size:
        clamp(
            220px,
            24vw,
            360px
        );

    font-weight: 900;

    line-height: 0.8;

    letter-spacing: -25px;

    user-select: none;
    pointer-events: none;
}


/* PNG */

.gazan-merch__image {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    max-width: none;
    height: auto;

    margin: 0;

    object-fit: contain;
    object-position: center;

    filter:
        drop-shadow(
            0 24px 26px
            rgba(0, 0, 0, 0.18)
        );

    transition:
        transform 0.45s ease;
}

.gazan-merch__card:hover
.gazan-merch__image {
    transform:
        translateY(-4px)
        scale(1.012);
}


/* ==========================================
   ПЛАНШЕТ И НЕКРУПНЫЕ ЭКРАНЫ
   ========================================== */

@media
(max-width: 1024px) {

    .gazan-merch {
        padding:
            58px 20px
            68px;
    }

    .gazan-merch__card {
        grid-template-columns:
            minmax(0, 43%)
            minmax(0, 57%);

        min-height: 470px;
    }

    .gazan-merch__content {
        padding:
            46px 22px
            46px 40px;
    }

    .gazan-merch__title {
        font-size:
            clamp(
                42px,
                5vw,
                54px
            );

        letter-spacing: -2px;
    }

    .gazan-merch__description {
        font-size: 15px;
    }

}


/* ==========================================
   ВЕРТИКАЛЬНАЯ КОМПОЗИЦИЯ
   ========================================== */

@media
(max-width: 850px) {

    .gazan-merch__card {
        grid-template-columns: 1fr;

        min-height: 0;
    }

    /* Картинка первой */

    .gazan-merch__visual {
        grid-row: 1;

        min-height: 0;
        padding: 0;
    }

    .gazan-merch__visual::before {
        display: none;
    }

    .gazan-merch__image {
        width: 100%;
        max-width: none;
        height: auto;
    }

    /* Текст под картинкой */

    .gazan-merch__content {
        grid-row: 2;

        padding:
            42px 44px
            44px;
    }

    .gazan-merch__description {
        max-width: 520px;
    }

}


/* ==========================================
   ТЕЛЕФОНЫ
   ========================================== */

@media
(max-width: 767px) {

    .gazan-merch {
        padding:
            38px 12px
            48px;
    }

    .gazan-merch__card {
        border-radius: 22px;

        box-shadow:
            0 16px 38px
            rgba(15, 15, 20, 0.16);
    }

    .gazan-merch__visual {
        min-height: 0;
        padding: 0;
    }

    .gazan-merch__image {
        width: 100%;
    }

    .gazan-merch__number {
        right: 1%;
        bottom: -7%;

        font-size:
            clamp(
                170px,
                55vw,
                250px
            );

        letter-spacing: -16px;
    }

    .gazan-merch__content {
        padding:
            31px 23px
            29px;
    }

    .gazan-merch__label {
        margin-bottom: 17px;

        font-size: 10px;

        letter-spacing: 1.5px;
    }

    .gazan-merch__label-dot {
        width: 8px;
        height: 8px;

        flex-basis: 8px;
    }

    .gazan-merch__title {
        font-size:
            clamp(
                35px,
                10.5vw,
                46px
            );

        line-height: 0.96;

        letter-spacing: -1.7px;
    }

    .gazan-merch__line {
        width: 46px;
        height: 3px;

        margin:
            22px 0
            19px;
    }

    .gazan-merch__description {
        margin-bottom: 26px;

        font-size: 15px;

        line-height: 1.5;
    }

    .gazan-merch__button {
        width: 100%;
        min-width: 0;
        min-height: 56px;
    }

}


/* ==========================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ
   ========================================== */

@media
(max-width: 390px) {

    .gazan-merch {
        padding-right: 10px;
        padding-left: 10px;
    }

    .gazan-merch__content {
        padding:
            28px 20px
            25px;
    }

    .gazan-merch__title {
        font-size: 34px;
    }

    .gazan-merch__description {
        font-size: 14px;
    }

    .gazan-merch__button {
        font-size: 13px;
    }

}


/* ==========================================
   ОТКЛЮЧЕНИЕ ДВИЖЕНИЙ
   ========================================== */

@media
(prefers-reduced-motion: reduce) {

    .gazan-merch__button,
    .gazan-merch__button::before,
    .gazan-merch__button-arrow,
    .gazan-merch__image {
        transition: none !important;
    }

    .gazan-merch__card:hover
    .gazan-merch__image {
        transform: none;
    }

}


