:root {
    --onv-carousel-height: 450px;
    --onv-carousel-speed-fast: 0.12s;
    --onv-carousel-speed-medium: 0.22s;
    --onv-carousel-speed-slow: 0.4s;
}

.onv-carousel-container {
    width: 100%;
    max-width: var(--onv-carousel-height);
    height: var(--onv-carousel-height);
    position: relative;
    border-radius: 8px;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.06), 0px 6px 24px 0px rgba(0, 0, 0, 0.12);
    transition: var(--onv-carousel-speed-slow) ease;
}

@media screen and (max-width: 989px) {
    .onv-carousel-container {
        --onv-carousel-height: 320px;
        height: var(--onv-carousel-height);
    }
}

.onv-carousel-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: var(--onv-carousel-speed-medium) ease;
}

.onv-carousel-slide.onv-carousel-active {
    opacity: 1;
}

.onv-carousel-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.onv-carousel-slide img {
    aspect-ratio: 1/1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    padding: 0 !important;
}

@media screen and (min-width: 767px) {
    .onv-carousel-description {
        left: auto;
        right: auto;
    }
}

.onv-carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.onv-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
}

.onv-carousel-dot.onv-carousel-active {
    background-color: white;
}

.onv-carousel-timer {
    position: absolute;
    top: 8px;
    right: 8px;
    left: 8px;
    height: 4px;
    border-radius: 100vh;
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    width: 0;
    z-index: 10;
}

.onv-carousel-nav-arrow {
    --onv-carousel-arrow-width: 64px;
    aspect-ratio: 1;
    position: absolute;
    top: calc(var(--onv-carousel-height) / 2 - var(--onv-carousel-arrow-width) / 2);
    background: #fff;
    transition: var(--onv-carousel-speed-slow) ease;
    width: 40px;
    border-radius: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onv-carousel-nav-arrow svg {
    transition: 0.2s ease-in-out;
    fill: #000;
}

.onv-carousel-nav-arrow:hover {
    background-color: #000;
}

.onv-carousel-nav-arrow:hover svg {
    fill: #fff;
}

.onv-carousel-nav-arrow:hover.onv-carousel-prev svg {
    transform: translateX(-4px);
}

.onv-carousel-nav-arrow:hover.onv-carousel-next svg {
    transform: translateX(4px);
}

.onv-carousel-nav-arrow.onv-carousel-prev {
    left: 0;
    transform: translateX(-50%);
}

.onv-carousel-nav-arrow.onv-carousel-next {
    right: 0;
    transform: translateX(50%);
}

.onv-carousel-pause-play-button {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    border-radius: 20px;
}

.onv-carousel-pause-play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.onv-carousel-pause-play-button svg {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}

.onv-carousel-pause-play-button span {
    white-space: nowrap;
}