/* Products hero */

.products-hero {
    padding: 0 0 80px;
}

.products-hero .container {
    max-width: 1410px;
}

.products-hero__title {
    margin: 0;

    font-family: 'RoadRadio', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #1D3F77;
}

.products-hero__text {
    max-width: 700px;
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;

    color: #8A8A8A;
}

.products-hero__presentation {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;

    width: 100%;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;

    color: #F7941D;
}

.products-hero__presentation img {
    width: 32px;
    height: 32px;

    flex-shrink: 0;
}


/* Products categories */

.products-categories {
    padding: 0 0 100px;
    position: relative;
    overflow: hidden;
}

.products-categories .container {
    max-width: 1410px;

    position: relative;
    z-index: 2;
}

.products-categories .container:after {
    content: url('../img/PP/element1.svg');

    position: absolute;
    left: 1180px;
    bottom: -110px;
    z-index: -1;

    width: 755px;

    pointer-events: none;
}

.products-categories__row {
    --bs-gutter-x: 15px;
    --bs-gutter-y: 15px;

    margin-bottom: 15px;
}

.products-categories__row:last-of-type {
    margin-bottom: 0;
}


/* Product category */

.product-category {
    position: relative;

    display: block;

    height: 300px;

    overflow: hidden;
    border-radius: 10px;

    background: #C9C9C9;
    text-decoration: none;
}

.product-category img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    filter: grayscale(1);
}

.product-category::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

.product-category span {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;

    max-width: calc(100% - 60px);

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;

    color: #ffffff;
}


/* Products stock */

.products-stock {
    position: relative;

    min-height: 277px;
    margin-top: 80px;

    overflow: hidden;
    border-radius: 10px;
}

.products-stock__image {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.products-stock::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);
}

.products-stock__content {
    position: relative;
    z-index: 2;

    padding: 50px 40px;
}

.products-stock__title {
    margin: 0 0 40px;

    font-family: 'RoadRadio', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #ffffff;
}

.products-stock__text {
    max-width: 365px;
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.4;

    color: #ffffff;
}

.products-stock__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    width: 100%;
    max-width: 385px;
    min-height: 60px;
    padding: 15px 15px 15px 30px;

    border-radius: 999px;

    background: #F7941D;
    color: #ffffff;

    text-decoration: none;
}

.products-stock__button span {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;

    white-space: nowrap;
}

.products-stock__button-icon {
    display: block;

    width: 30px;
    height: 30px;

    flex-shrink: 0;
}

/* =========================
   Products adaptive
========================= */

@media (max-width: 767px) {
    .products-hero {
        padding: 0 0 28px;
    }

    .products-hero .container,
    .products-categories .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .products-hero__title {
        margin-bottom: 18px;

        font-size: 28px;
        line-height: 1;
    }

    .products-hero__text {
        max-width: 100%;
        margin-bottom: 18px;

        font-size: 13px;
        line-height: 1.45;
    }

    .products-hero__presentation {
        justify-content: flex-start;

        font-size: 12px;
    }

    .products-hero__presentation img {
        width: 28px;
        height: 28px;
    }

    .products-categories {
        padding: 0 0 36px;
    }

    .products-categories .container::after {
        display: none;
    }

    .products-categories__row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 10px;

        margin-bottom: 10px;
    }

    .products-categories__row > [class*="col"] {
        width: 100%;
        flex: 0 0 100%;
    }

    .product-category {
        height: 170px;
        border-radius: 10px;
    }

    .product-category span {
        top: 18px;
        left: 18px;

        max-width: calc(100% - 36px);

        font-size: 13px;
        line-height: 1.15;
    }

    .products-stock {
        min-height: 360px;
    }

    .products-stock__content {
        display: flex;
        flex-direction: column;

        min-height: 360px;

        padding: 20px 18px 24px;
    }

    .products-stock__title {
        margin-bottom: 28px;
    }

    .products-stock__text {
        max-width: 260px;
        margin-bottom: 40px;
    }

    .products-stock__button {
        margin-top: auto;
    }

    .products-stock__button span {
        min-width: 0;

        white-space: normal;

        font-size: 11px;
        line-height: 1.2;
    }

    .products-stock__button-icon {
        width: 34px;
        height: 34px;
    }
}