@font-face {
    font-family: "Krona One";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/krona-one-latin-400-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/montserrat-cyrillic-400-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/montserrat-cyrillic-500-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/montserrat-latin-500-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/montserrat-cyrillic-600-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/montserrat-cyrillic-700-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("fonts/montserrat-cyrillic-800-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("fonts/montserrat-latin-800-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --pink: #f90555;
    --pink-dark: #d90048;
    --ink: #171923;
    --muted: #858998;
    --surface: #f6f6f8;
    --footer: #121520;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(var(--container), calc(100% - 80px));
    margin: 0 auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    flex: none;
    position: relative;
    z-index: 20;
    background: #2a2c3363;
    color: #a5a7b0;
}

.site-header--inner {
    background: #1c1f29;
}

.header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
}

.brand img {
    width: 156px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 13px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    transition: color .2s, border-color .2s, background-color .2s;
}

.site-nav__link:hover {
    color: #f3f3f5;
}

.site-nav__link--accent {
    background: var(--pink);
    color: #fff;
}

.site-nav__link--accent:hover {
    background: var(--pink-dark);
}

.categories-toggle {
    font-family: inherit;
    cursor: pointer;
}

.site-nav__placeholder {
    display: block;
    height: 42px;
}

.site-nav__placeholder--articles {
    width: 131px;
}

.site-nav__placeholder--rules {
    width: 70px;
}

.site-nav__placeholder--partners {
    width: 85px;
}

.site-nav__placeholder--contacts {
    width: 82px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language {
    position: relative;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 6px;
    border: 0;
    color: #fff;
    background: transparent;
}

.language-switcher__flag {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(#fff 0 33%, #1e4ead 33% 66%, #e83544 66%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}

.language-switcher__arrow {
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top-color: #9ca0ac;
    transform: translateY(2px);
    transition: transform .2s ease;
}

.language-switcher[aria-expanded="true"] .language-switcher__arrow {
    transform: translateY(-2px) rotate(180deg);
}

.language-menu {
    width: 150px;
    position: absolute;
    z-index: 35;
    top: calc(100% + 8px);
    right: 0;
    overflow: hidden;
    border: 1px solid #353a49;
    border-radius: 7px;
    background: #202431;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .34);
}

.language-menu__option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 12px;
    text-align: left;
}

.language-menu__option:hover, .language-menu__option.is-selected {
    background: #2d3342;
}

.language-menu__flag {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}

.language-menu__flag--ru {
    background: linear-gradient(#fff 0 33%, #1e4ead 33% 66%, #e83544 66%);
}

.language-menu__flag--en {
    background: url("img/RaccoonStock.png") center / cover no-repeat;
}

.header-action {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    border-radius: 5px;
    background: #2a2d39;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    transition: color .2s, background-color .2s;
}

.header-action:hover {
    background: #383c4c;
    color: #f3f3f5;
}

.site-nav__link:not(.site-nav__link--accent):hover {
    border-color: #454545;
    background: transparent;
    color: #f3f3f5;
}

.header-action img {
    width: 18px;
    height: 18px;
    opacity: 1;
}

.menu-toggle, .mobile-backdrop {
    display: none;
}

.categories-overlay {
    position: fixed;
    z-index: 40;
    inset: 0;
    display: flex;
    justify-content: center;
    padding: 76px 40px 30px;
    overflow-y: auto;
    background: rgba(6, 8, 14, .28);
}

.categories-overlay[hidden] {
    display: none;
}

.categories-dialog {
    width: min(var(--container), 100%);
    height: 820px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-radius: 40px;
    background: #fff;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .25);
    outline: 0;
}

.categories-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 25px;
}

.categories-dialog__title {
    margin: 0;
    color: #171923;
    font-size: 24px;
    font-weight: 600;
}

.categories-dialog__close {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 30px;
    right: 31px;
    border: 0;
    background: transparent;
}

.categories-dialog__close span {
    width: 23px;
    height: 2px;
    position: absolute;
    top: 15px;
    left: 5px;
    border-radius: 2px;
    background: #171923;
}

.categories-dialog__close span:first-child {
    transform: rotate(45deg);
}

.categories-dialog__close span:last-child {
    transform: rotate(-45deg);
}

.categories-dialog__scroll {
    min-height: 0;
    padding-right: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ea0950 #f2f2f2;
}

.categories-dialog__scroll::-webkit-scrollbar {
    width: 10px;
}

.categories-dialog__scroll::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #f2f2f2;
}

.categories-dialog__scroll::-webkit-scrollbar-thumb {
    min-height: 80px;
    border: 3px solid #f2f2f2;
    border-radius: 10px;
    background: #ea0950;
}

.category-group + .category-group {
    margin-top: 35px;
}

.category-group__title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 18px;
    color: #171923;
    font-size: 24px;
    font-weight: 600;
}

.category-group__title::before {
    width: 14px;
    height: 1px;
    content: "";
    background: #171923;
}

.category-group__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px 30px;
}

.category-group__list a {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #171923;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    transition: color .2s;
}

.category-group__list a:hover {
    color: var(--pink);
}

.category-group__list img {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    border-radius: 5px;
    object-fit: contain;
}

.hero {
    min-height: 510px;
    position: relative;
    color: #fff;
}

.hero::after {
    width: auto;
    height: auto;
    content: ' ';
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: -76px;
    bottom: 0;
    background: #131620 no-repeat center 0 url(img/bg.png);
    pointer-events: none;
}

@media (max-width: 1280px) {
    .hero::after {
        background-position: -190px 0;
    }
}

.hero__inner {
    min-height: 510px;
    padding: 32px 0 74px;
    position: relative;
}

.hero__stats {
    display: flex;
    gap: 75px;
    color: #626776;
    font-size: 12px;
    font-weight: 400;
}

.hero__stats p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.hero__stats img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    opacity: .72;
}

.hero__content {
    max-width: 662px;
    padding-top: 65px;
}

.hero__title {
    margin: 0 0 25px;
    font-family: "Krona One", "Montserrat", sans-serif;
    font-size: 96px;
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.15em;
}

.hero__title span {
    display: block;
    color: var(--pink);
}

.hero__text {
    max-width: 662px;
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 45px;
}

.button {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    padding: 13px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 400;
    transition: color .2s, border-color .2s, background-color .2s, transform .2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: var(--pink);
    color: #fff;
}

.button--primary:hover {
    background: var(--pink-dark);
}

.button--outline {
    border-color: #555967;
    color: #f4f4f6;
}

.button--outline:hover {
    border-color: #9b9eaa;
    background: rgba(255, 255, 255, .06);
}

.catalog {
    padding: 58px 0 100px;
}

.search-form {
    width: min(680px, calc(100% - 40px));
    height: 55px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    margin: -86px auto 50px;
    padding: 0 25px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(21, 23, 32, .16);
}

.search-form input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--ink);
    font-size: 14px;
    padding-right: 25px;
    background: transparent;
}

.search-form input::placeholder {
    color: #c4c6ce;
}

.search-form img {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.search-form__hint {
    position: absolute;
    top: -24px;
    left: 72%;
    z-index: 1;
    max-width: calc(100% - 16px);
    padding: 8px 16px;
    border-radius: 9px;
    transform: translateX(-50%) rotate(-2deg);
    color: #000;
    background: #ffb468;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}

.inner-page {
    flex: 1 0 auto;
    padding: 40px 0 90px;
}

.breadcrumbs {
    margin: 0 0 19px;
    padding: 0;
    list-style: none;
    color: #8e919c;
    font-size: 12px;
    font-weight: 400;
    word-break: break-all
}

.breadcrumbs li {
    display: inline;
}

.breadcrumbs li + li::before {
    content: "|";
    margin: 0 12px;
}

.breadcrumbs a {
    color: #646875;
    transition: color .2s;
}

.breadcrumbs a:hover {
    color: var(--pink);
}

.page-heading {
    margin-bottom: 30px;
}

.category-page__intro .section-heading {
    margin-bottom: 0;
}

.page-heading h1 {
    margin: -3px 0 4px;
    color: var(--ink);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1.1px;
}

.product-page__heading {
    margin-bottom: 36px;
}

.product-page__heading h1 {
    max-width: 100%;
    font-size: 20px;
    word-break: break-all;
}

/* Форматирование текста из редактора: описание товара, статичные страницы, статьи */
.idesc {
    line-height: 1.4;
    word-break: break-word;
}

.idesc p {
    margin: 12px 0;
}

.idesc h1, .idesc .h1, .idesc h2, .idesc .h2, .idesc h3, .idesc .h3, .idesc h4, .idesc .h4, .idesc h5, .idesc .h5, .idesc h6, .idesc .h6 {
    margin: 30px 0 12px 0;
}

.idesc ul {
    padding: revert;
    display: revert;
    margin: revert;
    list-style: revert;
    line-height: 1.64;
    padding-left: 20px;
}

.idesc ol {
    padding: revert;
    display: revert;
    margin: revert;
    list-style: revert;
    line-height: 1.64;
}

.idesc p + ul, .idesc p + ol {
    margin-top: 0;
}

.idesc ul > li, .idesc ol > li {
    display: revert;
    margin: revert;
    list-style: revert;
}

.idesc ul ul, .idesc ul ol, .idesc ol ol, .idesc ol ul {
    margin-left: 20px;
}

.idesc a {
    color: inherit;
    text-decoration: revert;
    transition: revert;
}

.idesc a:hover {
    text-decoration: none;
}

.idesc p:first-child, .idesc h1:first-child, .idesc h2:first-child, .idesc h3:first-child, .idesc h4:first-child, .idesc h5:first-child, .idesc h6:first-child, .idesc .h1:first-child, .idesc .h2:first-child, .idesc .h3:first-child, .idesc .h4:first-child, .idesc .h5:first-child, .idesc .h6:first-child {
    margin-top: 0 !important;
}

.idesc p:last-child, .idesc h1:last-child, .idesc h2:last-child, .idesc h3:last-child, .idesc h4:last-child, .idesc h5:last-child, .idesc h6:last-child, .idesc .h1:last-child, .idesc .h2:last-child, .idesc .h3:last-child, .idesc .h4:last-child, .idesc .h5:last-child, .idesc .h6:last-child {
    margin-bottom: 0 !important;
}

.idesc table {
    width: 100%;
    margin: 12px 0;
    border: 0;
    border-top: 1px solid #ddd;
    border-collapse: collapse;
}

.idesc table td, .idesc table th {
    padding: 6px 9px;
    border: 0;
    border-bottom: 1px solid #ddd;
}

.idesc table tr:first-child td, .idesc table th {
    font-weight: bold;
}

.idesc table tr:hover > td {
    background-color: rgba(0, 0, 0, 0.01);
}

.idesc img {
    max-width: min(500px, 100%);
    height: auto;
    border-radius: 5px;
}

.content-page__heading {
    margin-bottom: 28px;
}

.content-page__heading h1 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
}

.content-page__text {
    max-width: 100%;
    color: #171923;
    font-size: 13px;
    font-weight: 400;
}

.articles-page__heading {
    margin-bottom: 30px;
}

.articles-page__heading h1 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
}

.articles-page__grid {
    padding-bottom: 50px;
}

.article-page__heading {
    margin-bottom: 36px;
}

.article-page__heading h1 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
}

.article-page__banner {
    min-height: 440px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-bottom: 29px;
    border-radius: 18px;
    color: #fff;
    background: #070a11;
}

.article-page__banner::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(4, 6, 12, .36), rgba(4, 6, 12, .04) 65%), linear-gradient(to top, rgba(4, 6, 12, .96) 0%, rgba(4, 6, 12, .78) 30%, rgba(4, 6, 12, .34) 62%, rgba(4, 6, 12, .06) 100%);
}

.article-page__banner > img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    filter: blur(3px);
}

.article-page__banner-content {
    position: relative;
    z-index: 2;
    padding: 42px 48px;
}

.article-page__banner-title {
    max-width: 100%;
    margin: 0 0 25px;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -1.4px;
}

.article-page__banner span {
    display: inline-flex;
    padding: 8px 17px;
    border-radius: 20px;
    background: var(--pink);
    box-shadow: 0 0 22px rgba(239, 0, 82, .72);
    font-size: 16px;
    font-weight: 400;
}

.article-page__text {
    padding-bottom: 0;
}

.modal-demo__heading h1 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0;
}

.modal-demo__heading p {
    margin: 7px 0 0;
    color: #8e919c;
    font-size: 13px;
}

.modal-demo__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.modal-demo__controls .button {
    min-width: 220px;
}

.modal-demo__product {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #ececef;
}

.modal-demo__product a {
    max-width: 640px;
    font-weight: 500;
}

.modal-demo__product a:hover {
    color: var(--pink);
}

.cart-demo__list {
    display: grid;
    gap: 14px;
}

.cart-demo__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    padding: 16px 20px;
    border-radius: 10px;
    background: var(--surface);
}

.cart-demo__item a {
    flex: 1 1 320px;
    font-weight: 500;
}

.cart-demo__item a:hover {
    color: var(--pink);
}

.cart-demo__item .button {
    min-width: 220px;
}

.purchases-page__heading {
    margin-bottom: 30px;
}

.purchases-page__heading h1 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
}

.purchases-form {
    margin-bottom: 84px;
}

.purchases-form label {
    display: block;
    margin-bottom: 10px;
    color: #171923;
    font-size: 12px;
    font-weight: 400;
}

.purchases-form__controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.purchases-form input {
    width: 485px;
    min-height: 47px;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    outline: 0;
    background: #f5f5f6;
    color: #171923;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
}

.purchases-form input::placeholder {
    color: #c0c2ca;
}

.purchases-form button {
    min-height: 47px;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--pink);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    transition: background-color .2s;
}

.purchases-form button:hover {
    background: var(--pink-dark);
}

.purchases-list__icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #cb4c4c;
}

.purchases-list__icon img {
    width: 18px;
    height: 18px;
}

.product-card__button--download {
    text-decoration: none;
}

.product-page__content {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: 22px;
    min-height: 545px;
}

.product-page__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-block {
    overflow: hidden;
    border-radius: 10px;
    background: var(--surface);
}

.product-summary__top {
    height: 97px;
    position: relative;
    padding: 20px 20px 7px;
}

.product-summary__top > img {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: contain;
}

.product-summary__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
    border-radius: 10px;
    color: #000;
    background: #f5e0d3;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.product-summary__stock {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 21px 20px 2px;
    color: #3a3b43;
    font-size: 12px;
    font-weight: 400;
}

.product-summary__stock img {
    width: 14px;
    height: 14px;
}

.product-summary__price {
    margin: 0 20px 16px;
    color: #1f2027;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.product-summary__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 62px;
}

.product-summary__buy, .product-summary__cart {
    width: 100%;
    min-height: 47px;
    border: 0;
    background: var(--pink);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    transition: background-color .2s;
}

.product-summary__buy:hover {
    background: var(--pink-dark);
}

.product-summary__cart {
    display: grid;
    place-items: center;
    border-left: 4px solid #fff;
}

.product-summary__cart img {
    width: 22px;
    height: 22px;
}

.product-summary__cart:hover {
    background: var(--pink-dark);
}

.product-summary__cart:disabled {
    cursor: default;
    background: #a4a6ae;
}

.recommendation {
    width: 240px;
    position: relative;
    padding: 24px 18px 24px 46px;
    border-radius: 8px;
    background: #f8efe9;
    color: #171923;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.16;
}

.recommendation::before {
    width: 1px;
    position: absolute;
    top: 47px;
    bottom: 34px;
    left: 20px;
    content: "";
    background: #ab9689;
}

.recommendation__title {
    position: relative;
    margin: 0 0 17px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.recommendation__title::before {
    width: 14px;
    height: 14px;
    position: absolute;
    top: 1px;
    left: -33px;
    content: "";
    border-radius: 50%;
    background: #ab9689;
}

.recommendation ul {
    margin: 0 0 15px;
    padding-left: 14px;
}

.recommendation li {
    font-size: 12px;
    font-weight: 400;
}

.recommendation li + li {
    margin-top: 12px;
}

.recommendation a {
    color: #171923;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.16;
    text-decoration: underline;
}

.product-page__right {
    padding-top: 1px;
}

.product-page__right-title {
    margin: 0 0 17px;
    color: #171923;
    font-size: 16px;
    font-weight: 600;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.product-tags span {
    padding: 4px 7px;
    border-radius: 8px;
    background: #e0e8f2;
    color: #171923;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.product-description {
    color: #171923;
    font-size: 13px;
    font-weight: 400;
}

.similar-products {
    margin-top: 12px;
}

.product-section + .product-section {
    margin-top: 80px;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 31px;
}

.section-heading > img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.section-heading h2 {
    margin: -3px 0 4px;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1.1px;
}

.section-heading p {
    margin: 0;
    color: #8e919c;
    font-size: 12px;
    font-weight: 400;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    background: var(--surface);
    transition: transform .25s, box-shadow .25s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(27, 29, 39, .12);
}

.product-card__top {
    height: 113px;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 20px 20px 6px;
}

.product-card__image {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: contain;
}

.product-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
    border-radius: 10px;
    color: #000;
    background: #f5e0d3;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
}

.product-card__title {
    word-break: break-all;
    min-height: 76px;
    margin-bottom: 10px;
    padding: 6px 16px 0;
    overflow: hidden;
    color: #3a3b43;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    transition: color .2s;
}

.product-card__title:hover {
    color: var(--pink);
}

.product-card__stock {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: auto 20px 2px;
    color: #3a3b43;
    font-size: 12px;
    font-weight: 400;
}

.product-card__stock img {
    width: 14px;
    height: 14px;
}

.product-card__price {
    margin: 0 20px 10px;
    color: #1f2027;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.7px;
}

.product-card__button {
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    background: var(--pink);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    transition: background-color .2s;
}

.product-card__button:hover {
    background: var(--pink-dark);
}

.product-card[hidden] {
    display: none !important;
}

.more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 21px;
}

.more-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 12px 17px;
    border: 0;
    border-radius: 6px;
    background: var(--surface);
    color: #000;
    font-size: 14px;
    font-weight: 400;
    transition: background-color .2s;
}

.more-button:hover {
    background: #f6f6f8;
}

.more-button span {
    color: #000;
    font-size: 17px;
    font-weight: 600;
    line-height: 10px;
}

.articles {
    padding: 0 0 90px;
}

.articles__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.all-articles {
    display: inline-flex;
    gap: 27px;
    align-items: center;
    margin-bottom: 31px;
    padding-bottom: 2px;
    border-bottom: 1px solid #b6b8c0;
    font-size: 12px;
    font-weight: 400;
    transition: color .2s;
}

.arrow-icon {
    width: 19px;
    height: 10px;
    flex: 0 0 auto;
}

.all-articles .arrow-icon {
    filter: brightness(0);
}

.all-articles:hover {
    color: var(--pink);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.article-card {
    min-height: 258px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    color: #fff;
    background: #0a111b;
}

.article-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(5, 7, 12, .99) 0%, rgba(5, 7, 12, .94) 30%, rgba(5, 7, 12, .5) 58%, rgba(5, 7, 12, .08) 100%);
}

.article-card__image {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    inset: 0;
    object-fit: cover;
    opacity: .88;
}

.article-card__content, .article-card__link {
    position: relative;
    z-index: 2;
}

.article-card__content {
    margin-top: auto;
    padding: 80px 20px 20px;
}

.article-card h3 {
    max-width: 300px;
    margin: 0 0 7px;
    font-size: 20px;
    line-height: 1.12;
}

.article-card p {
    margin: 0;
    color: #d3d4d8;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.article-card__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 35px;
    padding: 13px 20px;
    background: var(--pink);
    font-size: 14px;
    font-weight: 400;
    transition: background-color .2s;
}

.article-card__link:hover {
    background: var(--pink-dark);
}

.site-footer {
    flex: none;
    min-height: 440px;
    overflow: hidden;
    position: relative;
    color: #7e818d;
    background: var(--footer) url("img/bg_down.png") center / cover no-repeat;
}

.footer__inner {
    min-height: 440px;
    position: relative;
    display: flex;
    align-items: center;
}

.footer__content {
    position: relative;
    z-index: 1;
    width: min(40%, 440px);
    margin: 38px 0 0 47%;
}

.footer__title {
    display: block;
    width: fit-content;
    margin-bottom: 51px;
    color: #fff;
    font-family: "Krona One", "Montserrat", sans-serif;
    font-size: 64px;
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.15em;
}

.footer__title span {
    display: block;
    color: var(--pink);
}

.footer__heading {
    margin: 0 0 25px;
    color: #f1f1f4;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 82px;
    font-size: 14px;
    font-weight: 400;
}

.footer__links a {
    transition: color .2s;
}

.footer__links a:hover {
    color: #fff;
}

.footer__platform {
    display: inline-flex;
    align-items: center;
    margin-top: 36px;
}

.footer__platform img {
    width: 102px;
    height: 32px;
    object-fit: contain;
}

:focus-visible {
    outline: 3px solid #3d73ff;
    outline-offset: 3px;
}

@media (max-width: 1120px) {
    .header__inner {
        gap: 16px;
    }

    .site-nav {
        gap: 0;
    }

    .site-nav__link {
        padding: 10px 8px;
        font-size: 11px;
    }

    .header-action {
        padding: 10px;
        font-size: 11px;
    }

    .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .products-grid .product-card:nth-child(5) {
        display: none;
    }
}

@media (max-width: 900px) {
    .container {
        width: min(var(--container), calc(100% - 40px));
    }

    .header__inner {
        min-height: 66px;
        justify-content: space-between;
    }

    .menu-toggle {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        width: 42px;
        height: 42px;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 10px;
        border: 0;
        border-radius: 5px;
        background: #252936;
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        transition: transform .2s, opacity .2s;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-nav {
        width: min(320px, 85vw);
        height: 100dvh;
        position: fixed;
        z-index: 30;
        top: 0;
        left: 0;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 5px;
        padding: 92px 22px 24px;
        background: #161925;
        transform: translateX(-105%);
        transition: transform .28s ease;
    }

    .site-nav__placeholder {
        display: none;
    }

    .categories-overlay {
        padding: 80px 20px 20px;
    }

    .categories-dialog {
        height: min(820px, calc(100dvh - 100px));
        padding: 30px;
        border-radius: 28px;
    }

    .category-group__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .site-nav__link {
        padding: 15px;
        font-size: 13px;
    }

    .header-actions {
        gap: 0;
        margin-left: auto;
    }

    .header-action {
        gap: 0;
        font-size: 0;
    }

    .header-action img {
        width: 19px;
        height: 19px;
        opacity: 1;
    }

    .mobile-backdrop {
        position: fixed;
        z-index: 25;
        inset: 0;
        background: rgba(4, 5, 11, .65);
    }

    .mobile-backdrop.is-open {
        display: block;
    }

    .hero, .hero__inner {
        min-height: 460px;
    }

    .hero__content {
        padding-top: 55px;
    }

    .hero__stats {
        gap: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .products-grid .product-card:nth-child(5) {
        display: flex;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(var(--container), calc(100% - 32px));
    }

    .categories-overlay {
        padding: 72px 12px 12px;
    }

    .categories-dialog {
        height: calc(100dvh - 84px);
        padding: 24px 18px 24px 24px;
        border-radius: 22px;
    }

    .categories-dialog__header {
        padding-bottom: 18px;
    }

    .categories-dialog__title {
        font-size: 20px;
    }

    .categories-dialog__close {
        top: 19px;
        right: 16px;
    }

    .categories-dialog__scroll {
        padding-right: 13px;
    }

    .category-group + .category-group {
        margin-top: 27px;
    }

    .category-group__title {
        margin-bottom: 14px;
        font-size: 20px;
    }

    .category-group__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 17px 12px;
    }

    .brand img {
        width: 127px;
    }

    .header-actions {
        gap: 1px;
    }

    .language-switcher {
        padding: 9px 5px;
    }

    .hero__inner {
        padding-top: 26px;
    }

    .hero__stats {
        display: flex;
        gap: 28px;
    }

    .hero__content {
        padding-top: 73px;
    }

    .hero__title {
        font-size: 54px;
        letter-spacing: -3px;
    }

    .hero__title {
        text-align: center;
    }

    .hero__text {
        max-width: 385px;
        font-size: 12px;
        text-align: center;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .catalog {
        padding-bottom: 70px;
    }

    .inner-page {
        padding: 30px 0 60px;
    }

    .breadcrumbs {
        margin-bottom: 17px;
        font-size: 11px;
    }

    .page-heading h1 {
        font-size: 28px;
    }

    .product-page__heading h1 {
        font-size: 18px;
    }

    .content-page__heading h1 {
        font-size: 16px;
    }

    .content-page__text {
        font-size: 13px;
    }

    .article-page__banner {
        min-height: 350px;
        margin-bottom: 24px;
        border-radius: 14px;
    }

    .article-page__banner-content {
        padding: 30px;
    }

    .article-page__banner-title {
        font-size: 44px;
    }

    .purchases-form {
        margin-bottom: 60px;
    }

    .product-page__content {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .product-page__left {
        display: grid;
        grid-template-columns: minmax(0, 240px) minmax(0, 240px);
        align-items: start;
    }

    .similar-products {
        margin-top: 50px;
    }

    .search-form {
        width: calc(100% - 16px);
        margin-bottom: 43px;
    }

    .search-form__hint {
        top: -25px;
        left: 59%;
        padding: 7px 12px;
        font-size: 12px;
    }

    .product-section + .product-section {
        margin-top: 60px;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .articles__topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .all-articles {
        margin: -11px 0 20px 43px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-card {
        min-height: 245px;
    }

    .footer__inner {
        min-height: 530px;
        align-items: flex-start;
    }

    .site-footer {
        background-position: 37% center;
    }

    .footer__content {
        margin: 65px 0 0 auto;
    }
}

@media (max-width: 440px) {
    .header__inner {
        gap: 8px;
    }

    .brand img {
        width: 113px;
    }

    .header-actions {
        gap: 1px;
    }

    .menu-toggle {
        margin-left: auto;
    }

    .hero, .hero__inner {
        min-height: 445px;
    }

    .hero__content {
        padding-top: 84px;
    }

    .hero__title {
        font-size: 47px;
    }

    .hero__buttons {
        gap: 10px;
    }

    .catalog {
        padding-top: 47px;
    }

    .search-form {
        margin-top: -74px;
    }

    .search-form__hint {
        top: -22px;
        left: 58%;
        padding: 6px 9px;
        font-size: 11px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: 250px;
    }

    .product-card__title {
        min-height: 58px;
    }

    .footer__content {
        width: 260px;
    }

    .footer__title {
        font-size: 47px;
    }

    .product-page__left {
        grid-template-columns: 1fr;
    }

    .product-summary, .recommendation {
        width: 100%;
    }

    .product-page__heading h1 {
        font-size: 16px;
    }

    .product-tags {
        gap: 6px;
    }

    .product-tags span {
        font-size: 11px;
    }

    .article-page__heading {
        margin-bottom: 24px;
    }

    .article-page__banner {
        min-height: 290px;
    }

    .article-page__banner-content {
        padding: 24px 20px;
    }

    .article-page__banner-title {
        margin-bottom: 18px;
        font-size: 32px;
        letter-spacing: -.7px;
    }

    .article-page__banner span {
        padding: 7px 13px;
        font-size: 14px;
    }

    .modal-demo__controls {
        flex-direction: column;
    }

    .modal-demo__controls .button {
        width: 100%;
        min-width: 0;
    }

    .purchases-form__controls {
        align-items: stretch;
        flex-direction: column;
    }

    .purchases-form input, .purchases-form button {
        width: 100%;
    }
}
