@font-face {
    font-family: "Yati Sans";
    src: url("../fonts/YatiSansVariation.ttf") format("truetype");
    font-style: normal;
}
.other-products-title {
    font-family: "Yati Sans";
    color: #1b141f;
    order: 0;
    text-align: left;
    font-size: 2.16666667rem;
    font-weight: 400;
}

.other-products-line {
    display: flex;
    justify-content: center;
    align-items: center;
}

.other-products-line div {
    border: 1px solid #c4c4c4;
    width: 100%;
}

.other-products-prevNext {
    display: flex;
    justify-content: end;
    align-items: center;
    order: 1;
}

.other-products-prevNext .prevButton,
.other-products-prevNext .nextButton {
    border: none;
    box-shadow: none;
    background: transparent;
    color: #9a9a9a;
}

.other-products-prevNext .icon {
    width: 40px;
    height: auto;
}

.other-products-prevNext .prevButton:hover,
.other-products-prevNext .nextButton:hover {
    opacity: 0.8;
}

.other-products-prevNext .slick-disabled {
    color: #c2c2c2;
}

.other-products-prevNext .slick-arrow.slick-hidden {
    display: block;
}

.other-products-tabs {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0;
    order: 2;
}

.other-products-tab {
    background: #ffffff;
    border-radius: 13px;
    display: flex !important;
    flex-direction: column;
    gap: 0.5rem;
    padding: 2rem;
    margin: 1rem 1rem 1rem 0.5rem;
    /* width: 21.25rem !important; */
    height: 20rem !important;
    /* min-height: 17.875rem !important; */
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.17);
    position: relative;
}

.other-products-tab img {
    width: 2.916666666666667rem;
    height: 2.916666666666667rem;
    object-fit: contain;
    margin-bottom: 0.4166666666666667rem;

    transition: all 0.5s;
}

.other-products-tab img:hover {
    transform: scale(1.25);
}

.other-products-tab .title {
    font-family: "Yati Sans";
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.583333333333333rem;
    line-height: 2.0075rem;

    text-decoration: none;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* text-overflow: ellipsis; */
    overflow: hidden;
    margin-bottom: 0.25rem;

    height: calc(2.0075rem * 2) !important; /*line-height * number of lines*/
}

.other-products-tab .description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-family: "Yati Sans";
    color: #7c8ba6;
    /* max-height: calc(30vh + 20px); */
    overflow: hidden;
    /* text-overflow: ellipsis; */

    font-family: "Yati Sans";
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25rem;

    height: calc(1.25rem * 3) !important; /*line-height * number of lines*/
}

.other-products-tab .moreInfo {
    font-family: "Yati Sans";
    text-decoration-line: underline;
    color: var(--primary-color);
    margin-top: 4px;
    font-size: 1.125rem;
    position: absolute;
    bottom: 1.5rem;
    z-index: 2;

    font-weight: 500;
    line-height: 1.25rem;
}

.other-products-tab .moreInfo:hover {
    color: var(--navbar-color);
}

@media (max-width: 1025px) {
    .other-products-line {
        width: 45%;
    }

    .other-products-title {
        width: 35%;
    }

    .other-products-tab {
        width: 20rem !important;
    }
}

@media (max-width: 992px) {
    .other-products-title,
    .other-products-line,
    .other-products-prevNext {
        width: 100% !important;
    }

    .other-products-line {
        display: none;
    }

    .other-products-title {
        text-align: center;
        /* margin-bottom: 20px; */
    }

    .other-products-prevNext {
        order: 2;
        margin-top: 20px;
        /* margin-bottom: 50px; */
    }

    .other-products-tabs {
        order: 1;
    }
}

@media (max-width: 576px) {
    .other-products-title {
        font-size: 1.923076923076923rem;
        font-weight: 400;
        line-height: 2rem;
    }

    .other-products-tab img {
        width: 2.851538461538462rem;
        height: 2.3rem;
    }

    .other-products-tab .title {
        font-size: 1.769230769230769rem;
        font-weight: 600;
        line-height: 2.243076923076923rem;

        height: calc(
            2.243076923076923rem * 2
        ) !important; /*line-height * number of lines*/
    }

    .other-products-tab .description {
        font-size: 1.384615384615385rem;
        line-height: 2.243076923076923rem;

        -webkit-line-clamp: 2;

        height: calc(
            2.243076923076923rem * 2
        ) !important; /*line-height * number of lines*/
    }

    .other-products-tab .moreInfo {
        font-size: 1.384615384615385rem;
        font-weight: 600;
        line-height: 1.755384615384615rem;
    }

    .other-products-prevNext .icon {
        height: 35px;
        width: auto;
    }
}
