.catalog {
    padding: 240px 0 100px;
    background-image: url("../../img/main/catalog-bg.png");
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
}

.catalog-row {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 100px;
}

.catalog-body {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
}

.catalog-top {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.catalog-top__title {
    font-weight: 500;
    font-size: 46px;
    line-height: 110%;
    text-transform: uppercase;
    color: #ffffff;
}

.catalog-top__text {
    max-width: 1420px;
    font-weight: 400;
    font-size: 22px;
    line-height: 110%;
    color: #ffffff;
}

.catalog-content {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 26px 20px;
}

.catalog-content .production-block {
    width: calc(100% / 3 - 40px / 3);
}

.pagination {
    display: flex;
    justify-content: center;
    width: 100%;
}

.production-block {
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 24px 50px;
    background-color: #DADADA;
}

.production-block__img {
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    margin-bottom: 8px;
}

.production-block__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.production-block__title {
    font-weight: 700;
    font-size: clamp(1.5rem, 0.989rem + 0.82vw, 1.875rem);
    line-height: 110%;
    color: #2d2d2d;
}

.production-block__title span {
    font-size: clamp(1.125rem, 0.784rem + 0.55vw, 1.375rem);
}

.production-block__text {
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    color: #2d2d2d;
}

.production-block__parameters,
.parameters {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.production-block__parameters-item {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

.parameters-item {
    width: 100%;
    position: relative;
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

.production-block__parameters-item p {
    font-weight: 400;
    font-size: clamp(0.813rem, 0.387rem + 0.69vw, 1.125rem);
    line-height: 110%;
    color: #2d2d2d;
}

.production-block__parameters-item p:first-child {
    flex: 1 1 auto;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.production-block__parameters-item p:first-child::after {
    content: "";
    min-width: 10px;
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    height: 1px;
    border-bottom: 2px dotted #2d2d2d;
    margin-bottom: 4px;
}

.production-block__parameters-item p:nth-child(2) {
    white-space: nowrap;
}

.production-block__wrap {
    width: calc(100% - 48px);
    height: calc(100% - 48px);
    overflow-y: auto;
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    background-color: #f9f9f9;
    background-image: url("../../img/main/product-wrap-bg.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 34px 24px;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

.production-block:hover .production-block__wrap {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
}

.production-block__desc {
    font-weight: 400;
    font-size: 22px;
    line-height: 110%;
    color: #3e3e3e;
}

.catalog-button__all {
    width: 100%;
    max-width: 400px;
    font-weight: 500;
    font-size: 22px;
    line-height: 100%;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    background-color: #3aa159;
    align-self: center;
    border-radius: 30px;
    margin-top: 50px;
}

.catalog-button__all:hover {
    background-color: #146e3f;
}

.partners {
    padding: 90px 0;
    background-color: #fff;
}

.partners-row {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.partners__title {
    font-family: 'Calibri', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 110%;
    text-transform: uppercase;
    color: #404040;
    padding-left: 20px;
}

.partners-slider {
    width: 100%;
    position: relative;
    display: flex;
    overflow: hidden;
}

.partners-block {
    max-width: 310px;
    width: fit-content;
    width: -moz-fit-content;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partners-block img {
    max-width: 100%;
}


/******************************************/


/***************** Media ******************/

@media only screen and (max-width: 1250px) {
    .production-block__img {
        height: 220px;
    }
    .production-block__desc {
        font-size: 20px;
    }
}

@media only screen and (max-width: 992px) {
    .catalog {
        padding: 120px 0 80px;
    }
    .catalog-row {
        gap: 60px;
    }
    .catalog-top__title {
        font-size: 42px;
    }
    .catalog-top__text {
        font-size: 20px;
    }
    .catalog-content .production-block {
        width: calc(50% - 10px);
    }
    .production-block__title {
        font-size: 22px;
    }
    .production-block__title span {
        font-size: 16px;
    }
    .production-block__desc {
        font-size: 16px;
    }
    .production-block__parameters-item p {
        font-size: 12px;
    }
    .catalog-button__all {
        margin-top: 30px;
        font-size: 20px;
    }
    .partners {
        padding: 80px 0;
    }
    .partners__title {
        padding-left: 0;
        font-size: 28px;
    }
    .partners-slider {
        overflow: unset;
    }
}

@media only screen and (max-width: 660px) {
    .catalog-content .production-block {
        width: 100%;
    }
    .catalog-content .production-block__img {
        height: unset;
    }
}

@media only screen and (max-width: 480px) {
    .catalog {
        padding: 100px 0 60px;
    }
    .catalog-row {
        gap: 32px;
    }
    .catalog-body {
        gap: 38px;
    }
    .catalog-top__title {
        font-size: 30px;
    }
    .catalog-top__text {
        font-size: 16px;
    }
    .production-block {
        padding: 16px 16px 32px;
    }
    .production-block__wrap {
        width: calc(100% - 32px);
        height: calc(100% - 32px);
        top: 16px;
        left: 16px;
        right: 16px;
        gap: 16px;
        padding: 24px 16px;
    }
    .production-block__title {
        font-size: 20px;
    }
    .production-block__text {
        font-size: 16px;
    }
    .production-block__title span {
        font-size: 14px;
    }
    .production-block__parameters-item p {
        font-size: clamp(0.625rem, 0.125rem + 2.5vw, 0.875rem);
    }
    .catalog-button__all {
        font-size: 18px;
        margin-top: 24px;
    }
    .partners {
        padding: 70px 0;
    }
    .partners-row {
        gap: 24px;
    }
    .partners__title {
        font-size: 24px;
    }
    .partners-block {
        max-width: 200px;
    }
}