.lp-lock {
    overflow: hidden;
}

.lp-popup {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: none;
    font-family: inherit;
}

.lp-popup.is-open {
    display: block;
}

.lp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, .62);
    backdrop-filter: blur(7px);
    opacity: 0;
}

.lp-popup.is-open .lp-overlay {
    animation: lpOverlayIn .28s ease forwards;
}

.lp-box {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(100% - 30px);
    max-width: 560px;
    max-height: calc(100vh - 30px);
    overflow-y: auto;
    background: #fff;
    color: #111;
    transform: translate(-50%, -48%) scale(.96);
    opacity: 0;
    padding: 30px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

.lp-popup.is-open .lp-box {
    animation: lpBoxIn .48s cubic-bezier(.18, .89, .32, 1.08) forwards;
}

.lp-close {
    position: absolute;
    right: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #ececec;
    background: #fff;
    color: #111;
    cursor: pointer;
    z-index: 5;
    transition: all .2s ease;
}

.lp-close:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

.lp-step {
    position: relative;
    z-index: 2;
    display: none;
}

.lp-step.is-active {
    display: block;
}

.lp-popup.is-open .lp-step.is-active {
    animation: lpFadeUp .36s ease both;
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 12px;
    background: #fff1e8;
    color: #f96902;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.lp-title {
    max-width: 460px;
    margin: 0 0 12px;
    color: #111;
    font-size: 28px;
    line-height: 1.16;
    font-weight: 600;
    letter-spacing: -.02em;
}

.lp-text {
    margin: 0 0 20px;
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 400;
}

.lp-form {
    margin-top: 18px;
}

.lp-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.lp-type-card {
    display: block;
    width: 100%;
    padding: 15px;
    border: 1px solid #ececec;
    background: #f8f8f8;
    color: #111;
    text-align: left;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.lp-type-card:hover {
    transform: translateY(-2px);
    border-color: rgba(249, 105, 2, .45);
    background: #fff;
}

.lp-type-card.is-active {
    background: #fff;
    border-color: #f96902;
    box-shadow: 0 12px 28px rgba(249, 105, 2, .12);
}

.lp-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    background: #fff;
    color: #f96902;
    border: 1px solid #eee;
}

.lp-type-icon svg {
    width: 20px;
    height: 20px;
}

.lp-type-title {
    display: block;
    margin-bottom: 5px;
    color: #111;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
}

.lp-type-desc {
    display: block;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
}

.lp-context-text {
    margin: 0 0 14px;
    padding: 13px 14px;
    background: #f7f7f7;
    color: #4a4a4a;
    font-size: 13px;
    line-height: 1.45;
}

.lp-label {
    display: block;
    margin-bottom: 12px;
}

.lp-label span {
    display: block;
    margin-bottom: 7px;
    color: #111;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 500;
}

.lp-label input {
    display: block;
    width: 100%;
    height: 50px;
    border: 1px solid #dedede;
    background: #f8f8f8;
    padding: 0 14px;
    color: #111;
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
    transition: all .2s ease;
}

.lp-label input:focus {
    border-color: #f96902;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(249, 105, 2, .09);
}

.lp-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 52px;
    border: 1px solid #f96902;
    background: #f96902;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.lp-submit:hover,
.lp-submit:focus {
    background: #111;
    border-color: #111;
    color: #fff;
}

.lp-message {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

.lp-message.is-error {
    color: #b51f39;
}

.lp-loader-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 0 20px;
    background: #fff1e8;
    color: #f96902;
}

.lp-loader-mark span {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(249, 105, 2, .25);
    border-top-color: #f96902;
    border-radius: 50%;
    animation: lpSpin .8s linear infinite;
}

.lp-loading-list {
    display: grid;
    gap: 9px;
    margin-top: 18px;
}

.lp-loading-list div {
    padding: 12px 14px;
    background: #f7f7f7;
    color: #777;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
    transition: all .25s ease;
}

.lp-loading-list div.is-active {
    background: #111;
    color: #fff;
}

.lp-result-head {
    margin-bottom: 18px;
}

.lp-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    background: #fff1e8;
    color: #f96902;
}

.lp-result-icon svg {
    width: 24px;
    height: 24px;
}

.lp-project-line {
    display: inline-block;
    max-width: 100%;
    padding: 9px 12px;
    background: #f7f7f7;
    color: #333;
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

.lp-card-list {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.lp-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 13px;
    padding: 16px;
    background: #f8f8f8;
    border: 1px solid #ececec;
}

.lp-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #fff;
    color: #f96902;
    border: 1px solid #eee;
}

.lp-card-icon svg {
    width: 22px;
    height: 22px;
}

.lp-card h4 {
    margin: 0 0 8px;
    color: #111;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 600;
}

.lp-discount {
    margin-bottom: 8px;
    color: #555;
    font-size: 13px;
    font-weight: 400;
}

.lp-discount span {
    color: #f96902;
    font-weight: 600;
}

.lp-code-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin: 8px 0;
}

.lp-code-row code {
    display: block;
    flex: 1;
    min-height: 40px;
    padding: 12px 12px 10px;
    background: #111;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .07em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-code-row button {
    min-width: 94px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.lp-code-row button:hover {
    background: #111;
    color: #fff;
}

.lp-date {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.lp-date strong {
    color: #111;
    font-weight: 600;
}

.lp-email-box {
    margin: 16px 0;
    padding: 16px;
    background: #fff;
    border: 1px solid #ececec;
}

.lp-email-box h4 {
    margin: 0 0 7px;
    color: #111;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.lp-email-box p {
    margin: 0 0 12px;
    color: #666;
    font-size: 13px;
    line-height: 1.45;
}

.lp-email-row {
    display: grid;
    grid-template-columns: 1fr 122px;
    gap: 8px;
}

.lp-email-row input {
    width: 100%;
    height: 44px;
    border: 1px solid #dedede;
    background: #f8f8f8;
    padding: 0 12px;
    color: #111;
    font-size: 14px;
    font-weight: 400;
}

.lp-email-row button {
    height: 44px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-size: 13px;
    line-height: 1.1;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.lp-email-row button:hover {
    border-color: #f96902;
    background: #f96902;
}

.lp-email-row button:disabled {
    opacity: .7;
    cursor: wait;
}

.lp-email-message {
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

.lp-email-message.is-ok {
    color: #178a35;
}

.lp-email-message.is-error {
    color: #b51f39;
}

.lp-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-bottom: 10px;
    border: 1px solid #111;
    background: #111;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .2s ease;
}

.lp-telegram:hover {
    border-color: #f96902;
    background: #f96902;
}

.lp-result-close {
    margin-top: 8px;
}

@keyframes lpOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lpBoxIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -45%) scale(.94);
    }
    60% {
        opacity: 1;
        transform: translate(-50%, -51%) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes lpFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lpSpin {
    to {
        transform: rotate(360deg);
    }
}

@media all and (max-width: 575px) {
    .lp-box {
        padding: 24px 16px 18px;
    }

    .lp-title {
        font-size: 23px;
    }

    .lp-type-grid {
        grid-template-columns: 1fr;
    }

    .lp-card {
        grid-template-columns: 1fr;
    }

    .lp-code-row {
        flex-direction: column;
    }

    .lp-code-row button {
        min-height: 40px;
    }

    .lp-email-row {
        grid-template-columns: 1fr;
    }
}

.lp-popup .lp-type-card,
.lp-popup button.lp-type-card {
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}

@media (max-width: 575px) {
    .lp-popup .lp-type-card,
    .lp-popup button.lp-type-card {
        font-size: 15px !important;
    }
}

.lp-type-card,
button.lp-type-card,
.lp-popup .lp-type-card,
.lp-popup button.lp-type-card {
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

@media (max-width: 575px) {
    .lp-type-card,
    button.lp-type-card,
    .lp-popup .lp-type-card,
    .lp-popup button.lp-type-card {
        font-size: 15px !important;
    }
}

.lp-type-card,
button.lp-type-card,
.lp-popup .lp-type-card,
.lp-popup button.lp-type-card {
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

@media (max-width: 575px) {
    .lp-type-card,
    button.lp-type-card,
    .lp-popup .lp-type-card,
    .lp-popup button.lp-type-card {
        font-size: 15px !important;
    }
}


/* PROMO TYPE CARD FONT FIX CLEAN FINAL */
.lp-type-card,
button.lp-type-card,
.lp-popup .lp-type-card,
.lp-popup button.lp-type-card {
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

@media (max-width: 575px) {
    .lp-type-card,
    button.lp-type-card,
    .lp-popup .lp-type-card,
    .lp-popup button.lp-type-card {
        font-size: 15px !important;
    }
}

/* PROMO TYPE BUTTON FONT FINAL */
.lp-popup .lp-type-card,
.lp-popup button.lp-type-card {
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

.lp-popup .lp-type-title {
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

.lp-popup .lp-type-desc {
    font-size: 13px !important;
    line-height: 1.35 !important;
}

@media (max-width: 575px) {
    .lp-popup .lp-type-card,
    .lp-popup button.lp-type-card,
    .lp-popup .lp-type-title {
        font-size: 15px !important;
    }
}
