@font-face {
    font-family: 'Unbounded';
    src: url('/public/Fonts/Unbounded-Bold-Cyrillic.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Unbounded';
    src: url('/public/Fonts/Unbounded-Bold-Latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    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;
}

body.products-body {
    padding-top: 0;
    background-color: #050505 !important;
}

.products-page {
    min-height: 100svh;
    padding: 190px 0 104px;
    background:
        linear-gradient(180deg, #050505 0, #050505 132px, rgba(5, 5, 5, 0.92) 220px, rgba(5, 5, 5, 0) 380px),
        linear-gradient(145deg, #050505 0%, #050505 10%, rgba(225, 107, 54, 0.3) 34%, rgba(76, 31, 16, 0.18) 57%, rgba(5, 5, 5, 0) 78%),
        linear-gradient(315deg, rgba(225, 107, 54, 0.12) 0%, rgba(5, 5, 5, 0) 34%),
        #050505;
    color: #fff;
}

.products-page .container {
    max-width: 1280px;
}

.products-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 64px;
}

.products-hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: 'Unbounded', sans-serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 0.98;
    text-transform: uppercase;
}

.products-hero__lead {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-family: 'NTSomic', sans-serif;
    font-size: 19px;
    line-height: 1.45;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    position: relative;
    display: flex;
    min-height: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #111;
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.product-card__media,
.product-card__media picture,
.product-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.product-card__media picture {
    display: block;
}

.product-card__media img {
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.15) 64%, rgba(0, 0, 0, 0.05));
}

.product-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    padding: 32px;
    flex-direction: column;
    justify-content: flex-end;
}

.product-card__status {
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    font-family: 'NTSomic', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-card h2 {
    margin: 0 0 12px;
    color: #fff;
    font-family: 'NTSomic', sans-serif;
    font-size: 18px;
    line-height: 1;
}

.product-card p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-family: 'NTSomic', sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.product-card:hover .product-card__media img {
    transform: scale(1.035);
}

@media (max-width: 900px) {
    .products-page {
        padding: 176px 0 80px;
    }

    .products-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 42px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 540px) {
    .products-page {
        padding: 156px 0 64px;
    }

    .products-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .products-hero h1 {
        font-size: 42px;
    }

    .products-hero__lead {
        font-size: 17px;
    }

    .product-card {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .product-card__content {
        padding: 22px;
    }

    .product-card h2 {
        font-size: 18px;
    }

    .product-card p {
        font-size: 16px;
    }
}
