.ym-hps {
    --ym-hps-accent: #b12b72;
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    isolation: isolate;
    background: transparent;
}

.ym-hps__viewport {
    width: 100%;
    overflow: hidden;
}

.ym-hps__track {
    display: flex;
    width: 100%;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    touch-action: pan-y pinch-zoom;
}

.ym-hps.is-dragging,
.ym-hps.is-dragging .ym-hps__link {
    cursor: grabbing;
}

.ym-hps__slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    position: relative;
}

.ym-hps__slide[aria-hidden="true"] {
    pointer-events: none;
}

.ym-hps__link,
.ym-hps__picture,
.ym-hps__image {
    display: block;
    width: 100%;
}

.ym-hps__link {
    position: relative;
    z-index: 1;
    cursor: pointer;
    text-decoration: none;
}

.ym-hps__image {
    height: auto;
    max-width: 100%;
    border: 0;
    user-select: none;
    -webkit-user-drag: none;
}

/* Reset theme/Elementor button styles so controls keep their intended geometry. */
.ym-hps__arrow,
.ym-hps__bullet {
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    font: inherit;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

.ym-hps__arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    color: var(--ym-hps-accent);
    background-color: #fff;
    cursor: pointer;
    line-height: 1;
    opacity: 1;
    transition: opacity .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.ym-hps[data-arrows-hover="yes"] .ym-hps__arrow {
    opacity: 0;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .ym-hps[data-arrows-hover="yes"]:hover .ym-hps__arrow,
    .ym-hps[data-arrows-hover="yes"]:focus-within .ym-hps__arrow {
        opacity: 1;
        pointer-events: auto;
    }
}

.ym-hps[data-arrows-hover="yes"]:focus-within .ym-hps__arrow {
    opacity: 1;
    pointer-events: auto;
}

.ym-hps__arrow:hover {
    background-color: #fff;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 3px 14px rgba(0, 0, 0, .14) !important;
}

.ym-hps__arrow:focus-visible,
.ym-hps__bullet:focus-visible,
.ym-hps__link:focus-visible {
    outline: 2px solid var(--ym-hps-accent);
    outline-offset: 3px;
}

.ym-hps__arrow:active {
    transform: translateY(-50%) scale(.96);
}

.ym-hps__arrow--prev {
    left: 14px;
}

.ym-hps__arrow--next {
    right: 14px;
}

.ym-hps__arrow svg {
    display: block;
    width: 18px;
    height: 18px;
}

.ym-hps__arrow[disabled] {
    opacity: .35;
    cursor: default;
}

.ym-hps__pagination {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 11px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    line-height: 0;
}

.ym-hps__bullet {
    display: block;
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 999px;
    background-color: #fff;
    cursor: pointer;
    opacity: .92;
    transition: transform .18s ease, opacity .18s ease, background-color .18s ease;
}

.ym-hps__bullet:hover {
    transform: scale(1.2);
    opacity: 1;
}

.ym-hps__bullet.is-active {
    background-color: var(--ym-hps-accent);
    transform: scale(1.25);
    opacity: 1;
}

.ym-hps--mobile[data-mobile-arrows="no"] .ym-hps__arrow {
    display: none;
}

@media (hover: none) {
    .ym-hps--mobile[data-mobile-arrows="yes"] .ym-hps__arrow {
        opacity: 1;
        pointer-events: auto;
    }
}

.ym-hps__empty {
    padding: 24px;
    border: 1px dashed #c3c4c7;
    background: #f6f7f7;
    color: #50575e;
    text-align: center;
    line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
    .ym-hps__track,
    .ym-hps__arrow,
    .ym-hps__bullet {
        transition-duration: 0ms !important;
    }
}
