.testimonial-slider {
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    cursor: grab;
}

.track {
    display: flex;
}

.slide {
    width: 337px;
    flex-shrink: 0;
}

/* VIDEO */

.video-box {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    border: 1px solid #E5E7EB;
    width: 100%;
    background: white;
}

.video-box:hover .play svg rect {
    fill: #E96F9ABF;
    fill-opacity: 1;
}

.video-box .thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.video-box:hover .overlay {
    background: rgba(0, 0, 0, 0.25);
}

.video-box .overlay {
    position: absolute;
    inset: 0;
    background: #00000080;
    display: flex;
    flex-direction: column;
    padding: 20px;
    opacity: 1;
}

.video-box iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-box.playing .overlay,
.video-box.playing .thumb {
    display: none;
}

.video-box .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.video-box .play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}
.video-box .play svg {
    max-width: 52px;
    max-height: 34px;
    width: 100%;
    height: 100%;
}

/* TEXT ONLY */

.video-box.text-only {
    aspect-ratio: auto;
    padding: 30px;
    cursor: default;
    display: flex;
    flex-direction: column;
}

.video-box.text-only .avatar {
    margin-bottom: 30px;
}

.video-box.text-only > p {
    font-family: 'Nunito', sans-serif;
    padding-bottom: 70px;
    margin-bottom: 0;
}

.video-box h4 {
    color: #E96F9A;
    margin-bottom: 1px;
}

.video-box .verified {
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-box .verified p {
    color: #4B5563;
    padding-bottom: 0;
    margin-bottom: 0;
}

.video-box .autor {
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.video-box .autor--video p {
    color: white;
}

/* CONTROLS */

.controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
}

.controls .prev,
.controls .next {
    cursor: pointer;
    width: 26px;
    height: 26px;
    border-radius: 100%;
    background: #E96F9A;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-slider.no-scroll .prev,
.testimonial-slider.no-scroll .next {
    opacity: .5;
    pointer-events: none;
}

.testimonial-slider.no-scroll .controls{
    display: none;
}

.testimonial-slider.is-start .prev {
    opacity: .5;
    pointer-events: none;
}

.testimonial-slider.is-end .next {
    opacity: .5;
    pointer-events: none;
}

.progress {
    flex: 1;
    height: 3px;
    background: #eee;
    border-radius: 3px;
}

.progress span {
    display: block;
    height: 100%;
    width: 0;
    background: #ff5a8a;
    transition: width .4s;
}


/* Product */


.testimonial-slider--product .overlay {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.testimonial-slider--product .overlay .post-months {
    margin-bottom: 0;
    background: #E96F9A80;
    border: 1px solid #E96F9A40;
    backdrop-filter: blur(17.5px);
    -webkit-backdrop-filter: blur(17.5px);
    padding: 5px;
    border-radius: 5px;
    color: #F69FAF;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    margin-top: 11px;
}

.testimonial-slider--product .autor--video h4 {
    font-size: 16px;
    margin: 0;
}

.testimonial-slider--product .autor--video {
    backdrop-filter: blur(17px);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(153, 153, 153, 0.4) 100%);
    -webkit-backdrop-filter: blur(17px);
    border-radius: 10px;
    padding: 5px 10px;
    bottom: 20px;
    left: 19px;
    width: 89%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.testimonial-slider--product .autor--video .product-text {
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 0;
}

.testimonial-slider--product .autor--video .verified {
    display: none;
}
