.zzg-image-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #f3f6fa;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    direction: ltr;
}

.zzg-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 500;
}

.zzg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .7s ease,
        transform 1s ease,
        visibility .7s ease;
}

.zzg-slide.active {
    opacity: 1;
    visibility: visible;
}

.zzg-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    user-select: none;
    -webkit-user-drag: none;
}


/* =========================
   ARROWS
========================= */

.zzg-arrow {
    position: absolute;
    top: 50%;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.9);
    color: #145cb5;

    font-family: Arial, sans-serif;
    font-size: 34px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);

    opacity: 0;

    transition:
        opacity .25s ease,
        transform .25s ease,
        background .25s ease,
        color .25s ease;

    z-index: 10;
}

.zzg-prev {
    left: 18px;
}

.zzg-next {
    right: 18px;
}

.zzg-image-slider:hover .zzg-arrow {
    opacity: 1;
}

.zzg-arrow:hover {
    background: #0878d8;
    color: #fff;

    transform: translateY(-50%) scale(1.08);
}


/* =========================
   DOTS
========================= */

.zzg-dots {
    position: absolute;

    left: 50%;
    bottom: 16px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 7px;

    padding: 7px 10px;

    border-radius: 30px;

    background: rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    z-index: 10;
}

.zzg-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.55);

    cursor: pointer;

    transition:
        width .3s ease,
        background .3s ease;
}

.zzg-dot.active {
    width: 24px;
    border-radius: 10px;
    background: #fff;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .zzg-image-slider {
        border-radius: 12px;
        background: #f3f6fa;
    }

    .zzg-slides {
        aspect-ratio: 1200 / 500;
    }

    .zzg-slide img {
        object-fit: contain;
    }

    .zzg-arrow {
        width: 34px;
        height: 34px;

        font-size: 26px;

        opacity: 1;
    }

    .zzg-prev {
        left: 8px;
    }

    .zzg-next {
        right: 8px;
    }

    .zzg-dots {
        bottom: 8px;
        padding: 5px 8px;
        gap: 5px;
    }

    .zzg-dot {
        width: 6px;
        height: 6px;
    }

    .zzg-dot.active {
        width: 18px;
    }
}