.ecomify-slider {
    --ecomify-transition: 450ms;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.ecomify-slider__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    transition: height var(--ecomify-transition) ease;
}

.ecomify-slider__track {
    display: flex;
    width: 100%;
    align-items: flex-start;
    will-change: transform;
    transition: transform var(--ecomify-transition) ease;
}

.ecomify-slider__slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
}

.ecomify-slider__link,
.ecomify-slider__picture {
    display: block;
    width: 100%;
}

.ecomify-slider__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    object-fit: contain !important;
    object-position: center;
    border: 0;
}

.ecomify-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #111;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 4px 18px rgba(0,0,0,.14);
}

.ecomify-slider__arrow--prev { left: 16px; }
.ecomify-slider__arrow--next { right: 16px; }

.ecomify-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}

.ecomify-slider__dot {
    width: 9px;
    height: 9px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #B1842C !important;
    background-color: #B1842C !important;
    cursor: pointer;
    opacity: .72;
    box-shadow: 0 1px 5px rgba(0,0,0,.25);
    transition: width .2s ease, opacity .2s ease, background-color .2s ease;
}

.ecomify-slider__dot.is-active {
    width: 24px;
    background: #B1842C !important;
    background-color: #B1842C !important;
    opacity: 1;
}

.ecomify-slider__empty {
    padding: 24px;
    border: 1px dashed #c7c7c7;
    background: #fafafa;
    color: #555;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 767px) {
    .ecomify-slider__arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .ecomify-slider__arrow--prev { left: 10px; }
    .ecomify-slider__arrow--next { right: 10px; }
    .ecomify-slider__dots { bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .ecomify-slider__track,
    .ecomify-slider__viewport,
    .ecomify-slider__dot {
        transition: none !important;
    }
}


/* Swipe / drag support */
.ecomify-slider__viewport {
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ecomify-slider.is-dragging .ecomify-slider__viewport {
    cursor: grabbing;
}

.ecomify-slider.is-dragging .ecomify-slider__track {
    pointer-events: none;
}

.ecomify-slider__image {
    -webkit-user-drag: none;
    user-drag: none;
}

/* Strong link/click compatibility fix */
.ecomify-slider__slide {
    position: relative;
}

.ecomify-slider__slide[data-slide-link],
.ecomify-slider__link {
    cursor: pointer !important;
}

.ecomify-slider__link {
    position: relative !important;
    z-index: 3 !important;
    pointer-events: auto !important;
    touch-action: pan-y !important;
    text-decoration: none !important;
}

.ecomify-slider__picture,
.ecomify-slider__image {
    pointer-events: auto !important;
}

/* Keep navigation controls above clickable banner */
.ecomify-slider__arrow,
.ecomify-slider__dots {
    z-index: 20 !important;
}


/* QA Doll Maker: force all banner navigation dots to brand gold. */
.ecomify-slider .ecomify-slider__dot,
.ecomify-slider__dots .ecomify-slider__dot {
    background: #B1842C !important;
    background-color: #B1842C !important;
    border-color: #B1842C !important;
}

.ecomify-slider .ecomify-slider__dot.is-active,
.ecomify-slider__dots .ecomify-slider__dot.is-active {
    background: #B1842C !important;
    background-color: #B1842C !important;
    border-color: #B1842C !important;
    opacity: 1 !important;
}
