.featured-products-carousel-header,
.featured-products-carousel-wrapper {
    color: rgba(0, 0, 0, 0.75);
}

.featured-products-carousel-header {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.featured-products-carousel-wrapper {
    width: 98%;
    margin: auto;
    margin-bottom: 25px;
}

.featured-products-carousel-wrapper.hidden {
  visibility: hidden;
}

.featured-products-carousel-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.featured-products-carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(.77, 0, .18, 1);
    will-change: transform;
    height: 100%;
}

.featured-products-carousel-item {
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.arrow-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 100px);
    width: 1200px;
    pointer-events: none;
    z-index: 1;
}

.featured-products-carousel-arrow {
    pointer-events: auto;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    border: unset;
    background-color: unset;
}

.stock_level_button {
    font-size: .8rem;
    padding: 8px;
    margin: auto;
    font-weight: 500;
    width: 90%;
    text-align: center;
    border: 1px solid green;
    color: green;
}

.stock_level_button:hover {
    text-decoration: none;
    color: green;
}

.series_name,
.part_number {
    font-size: .8rem;
    margin: auto;
    width: 90%;
}

.part_number {
    font-weight: bold;
}

.series_name {
    font-size: .7rem;
}

.featured-products-carousel-product-description {
    margin-top: 20px;
    font-size: 1rem;
    color: #333;
}

.product-description-title {
    margin-bottom: 3px;
}

.product-description-text {
    font-size: .9rem;
}

.selected {
    position: relative;
    border-bottom: 2px solid transparent;
}

.selected::after {
    content: "";
    position: absolute;
    bottom: -2px;
    height: 2px;
    width: 0;
    background-color: gray;
    animation: slideIn 0.5s forwards;
    margin: auto;
}

@keyframes slideIn {
    to {
        width: 90%;
    }
}

.product_image {
    width: 100%;
}


@media(max-width:1199px) {
    .product_image {
        width: 75%;
        margin: auto;
        object-fit: contain;
    }

    .arrow-buttons {
        width: 999px;
    }

}

@media(max-width:930px) {
    .arrow-buttons {
        width: 730px;
    }
}

@media(max-width:740px) {
    .arrow-buttons {
        width: 100%;
    }

    .stock_level_button {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .product-description-text {
        font-size: 1rem;
    }

    .featured-products-carousel-header,
    .featured-products-carousel-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .series_name,
    .part_number {
        font-size: 1rem;
    }

    .arrow-buttons {
        transform: translate(-50%, 160px);
        position: relative;
    }

    .arrow-buttons button {
        position: relative;
        z-index: 1;
    }

    .arrow-buttons button::before {
        content: "";
        position: absolute;
        top: -120px;
        bottom: -120px;
        left: -15px;
        right: -15px;
        z-index: -1;
    }
}