@font-face {
    font-family: "TochkaSans";
    font-weight: 300;
    font-style: normal;
    src: url('fonts/TTNormsProTochka/WOFF2/TT_Norms_Pro_Tochka_Light.woff2') format('woff2'),
    url('fonts/TTNormsProTochka/WOFF/TT_Norms_Pro_Tochka_Light.woff') format('woff'),
    url('fonts/TTNormsProTochka/TTF/TT_Norms_Pro_Tochka_Light.ttf') format('truetype');
}

@font-face {
    font-family: "TochkaSans";
    font-weight: 400;
    font-style: normal;
    src: url('fonts/TTNormsProTochka/WOFF2/TT_Norms_Pro_Tochka_Regular.woff2') format('woff2'),
    url('fonts/TTNormsProTochka/WOFF/TT_Norms_Pro_Tochka_Regular.woff') format('woff'),
    url('fonts/TTNormsProTochka/TTF/TT_Norms_Pro_Tochka_Regular.ttf') format('truetype');
}

@font-face {
    font-family: "TochkaSans";
    font-weight: 500;
    font-style: normal;
    src: url('fonts/TTNormsProTochka/WOFF2/TT_Norms_Pro_Tochka_Medium.woff2') format('woff2'),
    url('fonts/TTNormsProTochka/WOFF/TT_Norms_Pro_Tochka_Medium.woff') format('woff'),
    url('fonts/TTNormsProTochka/TTF/TT_Norms_Pro_Tochka_Medium.ttf') format('truetype');
}

@font-face {
    font-family: "TochkaSans";
    font-weight: 600;
    font-style: normal;
    src: url('fonts/TTNormsProTochka/WOFF2/TT_Norms_Pro_Tochka_DemiBold.woff2') format('woff2'),
    url('fonts/TTNormsProTochka/WOFF/TT_Norms_Pro_Tochka_DemiBold.woff') format('woff'),
    url('fonts/TTNormsProTochka/TTF/TT_Norms_Pro_Tochka_DemiBold.ttf') format('truetype');
}

@font-face {
    font-family: "TochkaSans";
    font-weight: 800;
    font-style: normal;
    src: url('fonts/TTNormsProTochka/WOFF2/TT_Norms_Pro_Tochka_Bold.woff2') format('woff2'),
    url('fonts/TTNormsProTochka/WOFF/TT_Norms_Pro_Tochka_Bold.woff') format('woff'),
    url('fonts/TTNormsProTochka/TTF/TT_Norms_Pro_Tochka_Bold.ttf') format('truetype');
}

@font-face {
    font-family: "TochkaSans";
    font-weight: 900;
    font-style: normal;
    src: url('fonts/TTNormsProTochka/WOFF2/TT_Norms_Pro_Tochka_ExtraBold.woff2') format('woff2'),
    url('fonts/TTNormsProTochka/WOFF/TT_Norms_Pro_Tochka_ExtraBold.woff') format('woff'),
    url('fonts/TTNormsProTochka/TTF/TT_Norms_Pro_Tochka_ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: "TochkaSans";
    font-weight: normal;
    font-style: normal;
    src: url('fonts/TTNormsProTochka/WOFF2/TT_Norms_Pro_Tochka_Regular.woff2') format('woff2'),
    url('fonts/TTNormsProTochka/WOFF/TT_Norms_Pro_Tochka_Regular.woff') format('woff'),
    url('fonts/TTNormsProTochka/TTF/TT_Norms_Pro_Tochka_Regular.ttf') format('truetype');
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased; /** Без данного свойства шрифт будет отличатся от дизайна */
    -moz-osx-font-smoothing: grayscale; /** Без данного свойства шрифт будет отличатся от дизайна */
}

html {
    background-color: #7F42E1;
}

.global_tochkaUiGlobalClass {
    --tochka-ui__typography-fontFamily-TTNormsTochka: "TochkaSans";
    width: 100vw;
    height: var(--dvh);
    min-height: max-content;
}

.center-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    max-width: 480px;
    padding: 0 var(--tochka-ui__spacing-5x);
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
    background: var(--tochka-ui__color-brand-purple-055);
}

.animation {
    margin: 0 auto 15px auto;
    width: 270px;
    height: 270px;
}

.title {
    color: var(--tochka-ui__primitive-primaryOnInverse);
    text-align: center;
    margin-bottom: var(--tochka-ui__spacing-3x);
    font-size: var(--tochka-ui__typography-fontSize-5xl);
    font-weight: var(--tochka-ui__typography-fontWeight-600);
    line-height: var(--tochka-ui__typography-lineHeight-5xl-01);
    letter-spacing: var(--tochka-ui__typography-letterSpacing-5xl);
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--tochka-ui__spacing-3x);
}

.price__text {
    color: var(--tochka-ui__primitive-primaryOnInverse);
    font-size: var(--tochka-ui__typography-fontSize-2xl);
    font-weight: var(--tochka-ui__typography-fontWeight-600);
    line-height: var(--tochka-ui__typography-lineHeight-2xl-01);
}

.price__icon {
    width: 24px;
    height: 24px;
}

.desc {
    color: var(--tochka-ui__primitive-primaryOnInverse);
    font-size: var(--tochka-ui__typography-fontSize-m);
    line-height: var(--tochka-ui__typography-lineHeight-m-01);
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.16px;
    margin-top: var(--tochka-ui__spacing-3x);
}

.desc__span {
    display: inline-block;
}

.footer {
    width: 100%;
    margin: auto auto 0 auto;
    padding: 60px 0 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer__top {
    text-align: center;
}

.footer__text {
    color: var(--tochka-ui__primitive-primaryOnInverse);
    font-size: var(--tochka-ui__typography-fontSize-m);
    line-height: var(--tochka-ui__typography-lineHeight-m-01);
    letter-spacing: 0.16px;
}

.footer__seller-name {
    font-variant: all-small-caps;
    font-size: 21px;
    letter-spacing: 0.37px;
}

.footer__code {
    font-weight: var(--tochka-ui__typography-fontWeight-500);
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    padding-right: 20px;
}

.footer__code svg {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    right: 0;
}

.footer__link {
    text-decoration: none;
    display: flex;
    height: 50px;
    padding: var(--tochka-ui__spacing-3x) 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: var(--tochka-ui__rounding-2_5x);
    background: var(--tochka-ui__bg-defaultFixed);
    color: var(--tochka-ui__purple-060);
    font-weight: var(--tochka-ui__typography-fontWeight-500);
    cursor: pointer;
    font-size: var(--tochka-ui__typography-fontSize-l);
}

@media (hover: hover) {
    .footer__link:hover {
        background: var(--tochka-ui__state-bg-defaultFixedActive);
        transition: 0.12s cubic-bezier(0.34, 0.09, 0.34, 0.83);
    }
}

.alert {
    position: fixed;
    pointer-events: none;
    top: 50%;
    left: 50%;
    width: 172px;
    height: 172px;
    border-radius: var(--tochka-ui__rounding-4_5x);
    background: rgba(225, 225, 225, 0.30);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    opacity: 0;
    transform: translate(-50%, -50%) translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.alert--visible {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

.alert__text {
    color: var(--tochka-ui__primitive-primaryOnInverse);
    font-size: var(--tochka-ui__typography-fontSize-s);
    font-style: normal;
    font-weight: var(--tochka-ui__typography-fontWeight-500);
    line-height: var(--tochka-ui__typography-lineHeight-s-01);
    letter-spacing: var(--tochka-ui__typography-letterSpacing-s);
}

@media (max-width: 768px) {
    .footer__desktop-br {
        display: none;
    }

    .header {
        padding-top: 30px;
        margin-bottom: 40px;
    }

    .title {
        font-size: var(--tochka-ui__typography-fontSize-4xl);
        letter-spacing: 0;
        line-height: 40px;
        margin-bottom: 9px;
    }
}

@media (max-width: 374px) {
    .title {
        font-size: 30px;
    }

    .price__text {
        font-size: 20px;
    }
}
