*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0 auto !important;
    padding: 0;
    min-width: 300px;
    font-family: "Roboto400" !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
    color: #202020;
    overflow: hidden;
}

img {
    width: 100%;
    max-width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

h1,
h2,
h3,
h4,
h5,
p {
    margin: 0;
    padding: 0;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

main {
    flex-grow: 1;
}

/*общие стили*/

.page__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
}

.page__container--center {
    max-width: 1220px;
    padding: 0 20px;
    margin: 0 auto;
}

.page__title-h1 {
    font-family: "RobotoMedium";
    font-size: 44px;
    font-weight: 400;
    line-height: 48px;
    color: #202020;
    margin-bottom: 80px;
}


.page__title-h2 {
    font-family: 'RobotoRegular';
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    color: #202020;
    margin-bottom: 48px;
}

.page__title-h3 {
    font-family: 'RobotoRegular';
    font-size: 26px;
    font-weight: 400;
    line-height: 34px;
    color: #202020;
    margin-bottom: 48px;
}

.page__subtitle {
    font-family: 'RobotoRegular';
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #202020;
    margin-bottom: 48px;
}

.page__section {
    margin-bottom: 100px;
}

.page__btn {
    font-family: 'RobotoRegular';
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0;
    color: #ffffff;
    padding: 10px 16px;
    background: #7A1018;
    border-radius: 6px;
    text-align: center;
    border: none;
}

.page__btn:hover {
    filter: brightness(1.2);
    color: #ffffff;
}

@media (max-width: 500px) {
    .page__section {
        margin-bottom: 60px;
    }

    .page__title-h1 {
        font-size: 36px;
        line-height: 42px;
        margin-bottom: 50px;
    }

    .page__title-h2 {
        font-size: 24px;
        line-height: 120%;
        margin-bottom: 38px;
    }
}

/* текстовый блок в категориях,подкатегориях*/

.text-block > h2 {
    font-family: 'RobotoRegular';
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    color: #202020;
    margin-bottom: 48px;
}

.text-block > h3 {
    font-family: 'RobotoRegular';
    font-size: 26px;
    font-weight: 400;
    line-height: 34px;
    color: #202020;
    margin-bottom: 28px;
}

.text-block > h4 {
    font-family: 'RobotoRegular';
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0;
    margin-bottom: 20px;
}

.text-block > p {
    font-family: 'RobotoRegular';
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #202020;
    margin-bottom: 32px;
}

.text-block > ul {
    font-family: 'RobotoRegular';
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0;
    color: #202020;
    margin-bottom: 32px;
    list-style-type: disc;
    padding-left: 20px;
}

.text-block > ul > li > p {
    margin-bottom: 5px !important;
}

.text-block > img {
    width: 100%;
    height: auto;
    max-height: 440px;
    display: block;
    margin-bottom: 32px;
}


@media (max-width: 500px) {
    .text-block > h2 {
        font-size: 24px;
        line-height: 120%;
        margin-bottom: 38px;
    }

}

/* новинка на главной*/

.new {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 32px;
    border: 1px solid #f1f1f1;
    padding: 20px;
}

.new__img {
    max-width: 280px;
    max-height: 280px;
    object-fit: contain;
}

.new__inner {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.new__title {
    font-family: 'RobotoRegular';
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 12px;
}

.new__desc {
    font-family: 'RobotoRegular';
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    margin-bottom: 32px;
}

.new__link {
    font-family: 'RobotoRegular';
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    text-decoration: none;
    border-radius: 6px;
    background: #7a1018;
    color: #ffffff;
    padding: 10px 16px;
    cursor: pointer;
}

.new__link:hover {
    filter: brightness(1.2);
    color: #ffffff;
}

@media (max-width: 768px) {
    .new {
        flex-direction: column;
    }

    .new__inner {
        align-self: start;
    }
}

@media (max-width: 425px) {
    .new__title {
        font-size: 20px;
        line-height: 100%;
    }

    .new__img {
        width: 200px;
        height: 200px;
    }

    .new__desc {
        font-size: 14px;
    }
}

/* продукция на главной */
.product {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 32px 1fr 32px 1fr 32px 1fr;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-left: 0;
}

.product__link {
    text-decoration: none;
    color: #202020;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
}

.product__link:hover {
    color: #7a1018;
}

.product__wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
    border: 1px solid #f1f1f1;
    margin-bottom: 16px;
}

.product__card {
    display: flex;
    align-items: baseline;
}

.product__line {
    display: block;
    width: 81px;
    height: 4px;
    background: #7a1018;
    margin-bottom: 16px;
}

.product__img {
    display: block;
    height: 110px;
    object-fit: contain;
}

.product__title {
    font-family: 'RobotoRegular';
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
}

@media (max-width: 1024px) {
    .product {
        grid-template-columns: repeat(2, 1fr);
    }

    /*.product__img {*/
    /*    height: 270px;*/
    /*}*/
}

@media (max-width: 768px) {
    .product {
        gap: 20px;
    }

    .product__img {
        height: 180px;
    }

}

@media (max-width: 425px) {
    .product {
        grid-template-columns: repeat(1, 1fr);
    }

    .product__img {
        height: 130px;
    }

    .product__title {
        font-size: 20px;
    }

}


/*number-info*/

.number-info {
    font-family: Arial, sans-serif;
    text-align: center;
    position: relative;
    padding: 125px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-info:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    background-image: url(/upload/new/number.jpg);
    background-position: top 0 left 0;
    background-repeat: no-repeat;
    z-index: 0;
    height: 100%;
    width: 1000%;

}

.number-info .stats {
    display: flex;
    justify-content: space-between;
    color: white;
    padding: 50px 0;
    width: 100%;
    border-radius: 10px;
    z-index: 1;
    position: relative;
}

.number-info .stat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    width: 265px;
}

.number-info .number {
    font-family: 'RobotoMedium';
    font-size: 48px;
    line-height: 100%;
    font-weight: bold;
}

.number-info .label {
    font-family: 'RobotoRegular';
    font-size: 20px;
    min-height: 52px;
    margin-bottom: 10px;
}

@media (max-width: 1050px) {
    .number-info {
        padding: 60px 0;
    }

    .number-info .stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;

    }

    .number-info .stat {
        width: 100%;

    }
}

@media (max-width: 500px) {
    .number-info {
        padding: 30px 0;
    }

    .number-info .stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .number-info .label {
        min-height: unset;
    }

    .number-info .number {
        font-size: 44px;
    }
}

/*number-info end*/

/* about main */

.about {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: start;
    gap: 32px;
}

.about:before {
    position: absolute;
    content: '';
    top: 0;
    left: -100%;
    width: 1000%;
    height: 100%;
    background: #EDEDED;
    z-index: -1;
}

.about__col {
    max-width: 691px;
    padding: 8px 0;
}

.about__col--left {
    max-width: 457px;
    padding: 0;
}

.about__title {
    font-family: 'RobotoRegular';
    font-size: 36px;
    font-weight: 400;
    line-height: 48px;
    margin-bottom: 24px;
}

.about__line {
    display: block;
    width: 120px;
    height: 4px;
    background: #7A1018;
    margin-bottom: 24px;
}

.about__text {
    font-family: 'RobotoRegular';
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 24px;
}

.about__link {
    font-family: 'RobotoRegular';
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    color: #FFFFFF;
    padding: 10px 16px;
    background: #7A1018;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 134px;
}

.about__link:hover {
    color: #FFFFFF;
    filter: brightness(1.2);
}


@media (max-width: 1175px) {
    .about__col {
        width: 50%;
    }
}

@media (max-width: 870px) {
    .about {
        flex-direction: column;
        padding: 50px 0;
        gap: 0;
    }

    .about__col {
        width: 100%;
    }

    .about__col--left {
        max-width: 100%;
    }

}

@media (max-width: 500px) {
    .about__title {
        font-size: 24px;
        line-height: 100%;
    }
}


/* преимущеатсва */

.advantages {
    padding: 0;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.advantages__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 27px 20px;
    border: 1px solid #EFEFEF;
    border-radius: 1px;
    width: 271px;
    height: 200px;
}

.advantages__title {
    text-align: center;
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .advantages {
        overflow-x: auto;
    }
}

@media (max-width: 425px) {
    .advantages__item {
        width: 210px;
        height: 210px;
    }

    .advantages__title {
        font-size: 15px;
        line-height: 100%;
    }
}