.carousel-wrapper .title-wrapper {
    position: relative;
}
.carousel-wrapper .title-wrapper::before {
    content: null !important;
    display: none !important;
}
.carousel-wrapper .title-wrapper::after {
    content: "";
    display: block;
    background-color: var(--dgl-bs-primary);
    padding: 0 0 0 0;
    width: 100%;
    max-width: var(--dgl-site-width);
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    height: 2px;
    margin: 0 0 0 0;
    z-index: 0;
}
.carousel-wrapper .price-button button.add2cart {
    display: none !important;
}
.carousel-wrapper .title-wrapper>h3 ,
.carousel-wrapper .title-wrapper>.heading-link-wrapper>h3 {
    z-index: 1;
}
.carousel-wrapper .owl-carousel .item .data-wrapper h3.owl-item-data {
    text-align: left;
}
.carousel-wrapper .owl-carousel .item .data-wrapper .data-info>* {
    order: 1 !important;
}
.carousel-wrapper .owl-carousel .item .data-wrapper .data-info>.author {
    order: 0 !important;
    text-align: left;
    font-weight: normal;
    font-size: .875rem;
}
.carousel-wrapper .owl-carousel .item .data-wrapper h4.owl-item-data.author>a {
    display: inline;
    margin: 0 0 0 0;
}
.carousel-wrapper .owl-carousel .item[data-posizione-classifica]::before {
    content: attr(data-posizione-classifica);
    position: absolute;
    inset: 50% auto auto 0;
    transform: translate(-50%,-50%) rotate(-10deg);
    font-family: "EB Garamond";
    font-weight: 800;
    font-size: 7rem;
    color: #DC5466;
    text-shadow: 0 0 2px #fff;
    z-index: 1;
}
.carousel-wrapper:has(.owl-carousel.item-classifica-prodotti) {
    overflow: hidden !important;
}
.carousel-wrapper .owl-carousel.item-classifica-prodotti .owl-stage-outer {
    overflow: visible !important;
}
.carousel-wrapper .owl-carousel.item-classifica-prodotti .owl-stage-outer .owl-item {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .3s 0s ease-in-out !important;
}
.carousel-wrapper .owl-carousel.item-classifica-prodotti .owl-stage-outer .owl-item.active {
    opacity: 1 !important;
    pointer-events: all !important;
    transition: opacity 0s ease-in-out !important;
}

.carousel-wrapper .cta-bottom-wrapper>.title-link-cta ,
.carousel-wrapper .cta-top-wrapper>.title-link-cta {
    text-decoration: none !important;
}
.carousel-wrapper .cta-bottom-wrapper>.title-link-cta:hover ,
.carousel-wrapper .cta-bottom-wrapper>.title-link-cta:active ,
.carousel-wrapper .cta-bottom-wrapper>.title-link-cta:focus ,
.carousel-wrapper .cta-top-wrapper>.title-link-cta:hover ,
.carousel-wrapper .cta-top-wrapper>.title-link-cta:active ,
.carousel-wrapper .cta-top-wrapper>.title-link-cta:focus {
    text-decoration: underline !important;
}

@media (min-width: 768px) {
    .carousel-wrapper .title-wrapper>h3 a ,
    .carousel-wrapper .title-wrapper>h3 span ,
    .carousel-wrapper .title-wrapper>.heading-link-wrapper>h3 a ,
    .carousel-wrapper .title-wrapper>.heading-link-wrapper>h3 span {
        background-color: #fff;
        padding-right: .75rem;
    }
    .carousel-wrapper .title-wrapper>.cta-top-wrapper ,
    .carousel-wrapper .title-wrapper>.heading-link-wrapper>.cta-top-wrapper {
        background-color: #fff;
        padding-left: .75rem;
        z-index: 1;
    }
}

@media (max-width: 1305px) {
    .carousel-wrapper .owl-carousel .item[data-posizione-classifica]::before {
        transform: translate(-15px,-50%) rotate(-10deg);
    }
}

@media (max-width: 767px) {
    .carousel-wrapper .title-wrapper::after {
        content: null !important;
        display: none !important;
    }
}

