/* КАТЕГОРИИ КАРТОЧКИ */
.container {
    max-width: 1720px;
    margin: 0 auto;
}

.title_box {
    margin-top: 100px;
}

.tab-container {
    margin: 0 auto;
    max-width: 1720px;
    width: 100%
}

.tab-control {
    border-collapse: collapse;
    width: 100%;
    margin-top: 100px;
    color: black
}

.tab-control td {
    padding: 12px 20px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: background 0.3s;
    font-weight: 600;
    font-size: 20px;
    line-height: 160%;
    white-space: nowrap;
}

.tab-control tr td a {
    color: black
}

.tab-control td:first-child {
    border-left: none;
}

.tab-control td:last-child {
    border-right: none;
}

.tab-control td:hover {
    background-color: #f5f5f5;
    color: black;
}

.tab-control td.active {
    background-color: #ff632a;
    color: white;
}

.tab-control td.active a {
    color: white;
}

.page-content {
    margin-top: 100px;
}

.control-panel {
    display: flex;
    gap: 30px;
    /* border-bottom: 1px solid #c0c0c0; */
    position: relative;
    margin-top: 78px;
    width: 100%;
}

.control-panel-item {
    position: relative;
    padding: 8px 0;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    transition: color 0.3s;
    line-height: 140%;
    text-align: center;
}

.control-panel-item a {
    color: #333;
}

.control-panel-item:hover {
    color: #000;
}

.control-panel-item.active {
    font-weight: 600;
    color: #000;
}

.control-panel-item.active::after {
    width: 100%;
    background: #ff632a;
}

.control-panel-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    z-index: 2;
    background: #999;
    /* серый */
    transition: width 0.3s ease;
}

.control-panel-item:hover::after {
    width: 100%;
    /* подсветка */
}

.indicator {
    position: absolute;
    bottom: 0px;
    height: 2px;
    background: #ff632a;
    transition: all 0.3s ease;
    border-radius: 10px;
    z-index: 10;
}

.products-wrapper {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.product-card-wrapper {
    position: relative;
    height: 502px;
    width: 100%;
    transition: all 0.5s;
    border-radius: 10px;
}

.product-card-wrapper:hover {
    transform: scale(1.01);
    box-shadow: 0px 10px 19px 0px #57575740;

}

.product-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    pointer-events: none;
    border-radius: 10px;
}

.product-card {
    position: absolute;
    top: 0;
    height: 100%;
    justify-content: space-around;
    left: 0;
    padding: 40px 0 35px 0;
    width: 100%;
    display: flex;
    border-radius: 10px;
    z-index: 10;
    padding-left: 140px;
    color: black;
}

.product-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 710px;
    width: 100%;
}

.scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    border-bottom: 1px solid #c0c0c0;
    position: relative;
    scrollbar-width: none
}

.product-card-title {
    font-weight: 700;
    font-size: 43px;
    line-height: 133%;
}

.product-card-title-name {
    color: #ff632a;
}

.product-card-description {
    margin-top: 30px;
    font-weight: 400;
    font-size: 20px;
}

.product-card-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60%;
}

.product-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalog-slider-wrapper {
    padding: 35px 20px
}

@media screen and (min-width: 1280px) and (max-width: 1900px) and (min-height: 500px) and (max-height: 1079px) {
    .product-card {
        padding: 20px 0 15px 0;
        padding-left: 50px;
    }

    .product-card-title {
        font-size: 30px;
    }

    .product-card-description {
        margin-top: 20px;
        font-size: 17px;
    }

    .tab-control td {
        padding: 8px 2px;
        font-size: 15px;
    }

    .control-panel-item {
        font-size: 15px;
    }

    .product-card-content {
        max-width: 500px;
    }
}

@media screen and (max-width: 1279px) {
    .tab-control {
        overflow: auto;
    }

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

    .product-card-description {
        font-size: 11px;
        margin-top: 13px;
        line-height: 154%;
    }

    .control-panel {
        justify-content: flex-start;
        width: 100%;
        position: relative;
    }

    .control-panel-item {
        line-height: 119%;
    }

    .products-wrapper {
        gap: 25px;
    }

    .product-card {
        padding-left: 60px;
    }

    .product-card-wrapper {
        height: 212px;
    }

    .tab-control td {
        font-size: 14px;
        line-height: 160%;
    }
}

@media screen and (min-width: 320px) and (max-width: 767px) {
    .tab-control {
        overflow: auto;
    }

    .product-card-title {
        font-size: 15px;
    }

    .product-card-description {
        font-size: 11px;
        margin-top: 6px;
        line-height: 154%;
    }

    .control-panel {
        justify-content: flex-start;
        width: 100%;
        margin-top: 30px;
    }

    .control-panel-item {
        line-height: 119%;
    }

    .products-wrapper {
        gap: 25px;
        margin-top: 45px;
    }

    .product-card {
        padding: 27px 0 16px 0;
        flex-direction: column;
    }

    .product-card-content {
        max-width: 100%;
        flex: 0 0 auto;
        padding: 0 25px 0 34px;
    }

    .product-card-wrapper {
        height: 326px;
    }

    .product-card-image-wrapper {
        width: 100%;
        height: 100%;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .tab-control td {
        font-size: 12px;
        line-height: 160%;
    }

    .control-panel-item {
        font-size: 12px;
    }

    .page-content {
        margin-top: 44px;
    }
}

@media screen and (max-width: 1750px) and (min-width: 1023px) {
    .container {
        width: 100%;
        padding: 0 40px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 1023px) {
    .container {
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }
}