.center_popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(620px, calc(100% - 28px));
    background-color: #1a1214;
    background-position: center center;
    background-size: cover;
    border: 2px dashed rgba(255, 210, 77, .5);
    border-radius: 4px 22px 4px 22px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .65), 0 0 32px rgba(227, 6, 19, .28);
    display: block;
    z-index: 10090;
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: -.03em;
    overflow: hidden;
    height: min(460px, 86vh);
    animation: loPopupTear .48s cubic-bezier(.22, 1.2, .36, 1) forwards
}

.center_popup::before {
    content: "ПРОМО";
    position: absolute;
    top: 14px;
    left: -2px;
    z-index: 4;
    padding: 5px 14px 5px 12px;
    border-radius: 0 8px 8px 0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    color: #fff;
    background: linear-gradient(135deg, #ff3a47, #e30613);
    box-shadow: 0 4px 14px rgba(227, 6, 19, .45);
    pointer-events: none
}

.center_popup::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 14px;
    background:
        radial-gradient(circle at 100% 12px, transparent 6px, rgba(255, 210, 77, .2) 7px) 0 0 / 14px 24px repeat-y;
    pointer-events: none;
    z-index: 1
}

@keyframes loPopupTear {
    0% {
        opacity: 0;
        transform: translate(-50%, -42%) rotate(-3deg) scale(.9)
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0) scale(1)
    }
}

@media (max-width: 767px) {
    .center_popup:not(.center_popup--fullscreen) {
        width: calc(100% - 20px);
        height: min(360px, 82vh);
        border-radius: 4px 16px 4px 16px;
        border-width: 2px
    }
}

.center_popup .close-btn {
    position: absolute;
    top: 10px;
    right: 18px;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .55);
    border: 1px dashed rgba(255, 210, 77, .45);
    border-radius: 4px 10px 4px 10px;
    color: #fff;
    cursor: pointer;
    z-index: 6;
    box-sizing: border-box;
    line-height: 0;
    font-size: 0;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
    text-shadow: none
}

.center_popup .close-btn__icon {
    display: block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    pointer-events: none
}

.center_popup .close-btn:hover {
    background: rgba(227, 6, 19, .5);
    border-color: #e30613;
    border-style: solid;
    color: #fff;
    transform: rotate(90deg)
}

.center_popup-content {
    padding: 48px 28px 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 20px;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2
}

@media (max-width: 767px) {
    .center_popup-content {
        padding: 42px 20px 20px 16px
    }
}

.center_popup-content > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1
}

.center_popup-content p {
    text-transform: uppercase
}

.center_popup-content .button-primary {
    margin-inline: 20px;
    width: calc(100% - 40px);
}

.center_popup-content p.big span,
.center_popup-content p.mid [data-text] {
    position: relative;
    background: linear-gradient(180deg, #C23222 0%, #570100 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 3px transparent;
    paint-order: stroke fill;
    text-shadow: none
}

.center_popup-content p.big span::after,
.center_popup-content p.mid [data-text]::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #FEFA47 0%, #FFF83D 44.23%, #F9D821 60.58%, #FBA109 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0 transparent;
    text-shadow: none
}

.center_popup-content p.big {
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    color: #FFF;
    margin-bottom: auto;
    -webkit-text-stroke: 3px #000;
    paint-order: stroke fill;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .7);
}

@media (max-width: 767px) {
    .center_popup-content p.big {
        font-size: 18px;
        line-height: 22px;
    }
}

.center_popup-content p.big span {
    display: block;
    font-weight: 900;
    font-size: 52px;
    line-height: 56px;
}

@media (max-width: 767px) {
    .center_popup-content p.big span {
        font-size: 28px;
        line-height: 32px;
    }
}

.center_popup-content p.mid {
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #FFF;
    -webkit-text-stroke: 3px #000;
    paint-order: stroke fill;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
    margin: 0 0 20px 0;
    text-transform: none;
}

@media (max-width: 767px) {
    .center_popup-content p.mid {
        font-size: 14px;
        line-height: 18px;
    }
}

.center_popup-content p.mid .mid-line {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap
}

.center_popup-content p.mid [data-text] {
    margin: 0 4px 0 4px;
    font-weight: 900;
    font-size: 28px;
}

@media (max-width: 767px) {
    .center_popup-content p.mid [data-text] {
        font-size: 22px
    }
}

.center_popup-content p.mid .extra {
    font-weight: 900;
    font-size: 48px;
    line-height: 52px;
    margin-top: 4px;
}

@media (max-width: 767px) {
    .center_popup-content p.mid .extra {
        font-size: 32px;
        line-height: 36px;
    }
}

.center_popup-content p.small {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #FFF;
    margin: 12px 0;
    text-transform: none;
    -webkit-text-stroke: 1px #000;
    paint-order: stroke fill;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
    opacity: 1;
}

@media (max-width: 767px) {
    .center_popup-content p.small {
        font-weight: 600;
        font-size: 12px;
        line-height: 16px;
    }
}

.center_popup-content .button--site-style {
    filter: drop-shadow(0 0 10px rgba(227, 6, 19, .55));
    font-size: 22px;
    min-width: 280px;
    border-radius: 4px !important;
}

@media (max-width: 767px) {
    .center_popup-content .button--site-style {
        font-size: 16px
    }
}

.center_popup-content .button--site-style:hover {
    filter: drop-shadow(0 0 16px rgba(227, 6, 19, .75))
}

#center_popup-trigger {
    display: none
}

#center_popup-trigger:not(:checked) ~ .center_popup {
    display: none
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 4, 5, .84);
    opacity: 0;
    visibility: hidden;
    z-index: 10080;
    cursor: pointer;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    transition: opacity 0.3s ease, visibility 0.3s ease
}

#center_popup-trigger:checked ~ .overlay {
    opacity: 1;
    visibility: visible
}

#center_popup-trigger:not(:checked) ~ .overlay {
    pointer-events: none
}

.center_popup.center_popup--fullscreen {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    max-width: none;
    max-height: none;
    border-radius: 0;
    border: none;
    background-color: #000;
    z-index: 50;
    animation: none
}

.center_popup--fullscreen::before,
.center_popup--fullscreen::after {
    display: none
}

.center_popup--fullscreen .close-btn {
    opacity: .12;
    color: #fff;
    font-size: 0;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-shadow: none;
    z-index: 3
}

.center_popup--fullscreen .close-btn__icon {
    width: 16px;
    height: 16px
}

.center_popup--fullscreen .close-btn:hover {
    opacity: .35;
    color: #fff
}

.center_popup--fullscreen .center_popup-content {
    padding: 0;
    justify-content: center;
    gap: 0;
    position: relative
}

.center_popup--fullscreen .center_popup-banner-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer
}

.center_popup--fullscreen .popup-banner-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0
}

.center_popup--fullscreen .popup-banner-media p {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0
}

.center_popup--fullscreen .popup-banner-media img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block
}

@media (min-width: 768px) {
    .center_popup--fullscreen .popup-banner-media.popup-banner-mobile:not(.popup-banner-desktop) {
        display: none
    }
}

@media (max-width: 767px) {
    .center_popup.center_popup--fullscreen {
        width: 100%;
        height: 100dvh;
        min-height: 100dvh;
        max-height: none
    }

    .center_popup--fullscreen .center_popup-content {
        height: 100%;
        min-height: 100dvh
    }

    .center_popup--fullscreen .popup-banner-media {
        width: 100%;
        height: 100%;
        min-height: 100%
    }

    .center_popup--fullscreen .popup-banner-media.popup-banner-desktop:not(.popup-banner-mobile) {
        display: none
    }

    .center_popup--fullscreen .popup-banner-media.popup-banner-mobile:not(.popup-banner-desktop) {
        display: block
    }

    .center_popup--fullscreen .center_popup-banner-action {
        bottom: 20px;
        width: calc(100% - 40px)
    }
}

.center_popup--fullscreen .center_popup-banner-action {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 2
}

body.center-popup-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    touch-action: none
}

body.center-popup-open .overlay {
    touch-action: none
}
