/* Owl Carousel customizations for the ProductDetails reviews carousel.
   These selectors target elements that the Owl JS library injects at
   runtime (.owl-nav, .owl-prev, .owl-next, .owl-item, etc.). Because
   those elements aren't in the rendered Razor markup, CSS isolation
   can't apply scoping attributes to them — these rules must live in
   a non-isolated stylesheet. */

.owl-nav {
    position: absolute;
    top: -78px;
    width: 100%;
    text-align: center;
}

.owl-prev, .owl-next {
    width: 40px !important;
    height: 40px !important;
    background: #1c6b92 !important;
    color: #fff !important;
    font-size: 33px !important;
    line-height: 0 !important;
    border-radius: 50%;
    margin: 0 6px;
    position: relative;
}

.owl-next {
    width: 40px !important;
    height: 40px !important;
    background: #1c6b92 !important;
    color: #fff !important;
    font-size: 33px !important;
    line-height: 0 !important;
    border-radius: 50%;
    margin: 0 6px;
    position: relative;
}

.owl-prev span {
    margin-top: -5px;
    line-height: 0;
    position: absolute;
    left: 15px;
}

.owl-next span {
    margin-top: -5px;
    line-height: 0;
    position: absolute;
    left: 15px;
}

@media (max-width:812px) {
    .aboutreview .owl-carousel .owl-item {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .aboutreview .owl-carousel .owl-item.active {
        opacity: 1;
    }

    .owl-nav {
        top: -50px;
    }
}
