/* Wedo Care Black Friday – slider widget */
/* Always fill the parent container – width is controlled from the Elementor container. */
.elementor-widget-wedo_bf_slider,
.e-con > .elementor-widget-wedo_bf_slider,
.elementor-widget-wedo_bf_slider > .elementor-widget-container {
	width: 100% !important; max-width: 100% !important; flex: 1 1 100%; align-self: stretch;
}
.wedo-bf-slider {
	position: relative; overflow: hidden; width: 100%; max-width: 100%; margin: 0;
	border-radius: 30px; transform: translateZ(0); /* clip slides to the rounded corners (Safari) */
	background: #000; isolation: isolate; touch-action: pan-y;
}
.wedo-bf-slider__track { display: grid; }
.wedo-bf-slider__slide {
	grid-area: 1 / 1; display: block; opacity: 0; visibility: hidden;
	transition: opacity .6s ease, visibility 0s linear .6s;
}
.wedo-bf-slider__slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; z-index: 1; }
.wedo-bf-slider__slide img,
.wedo-bf-slider__slide picture { display: block; width: 100%; height: auto; max-width: none; border: 0; border-radius: 0; }
.wedo-bf-slider a.wedo-bf-slider__slide { cursor: pointer; }
.wedo-bf-slider a.wedo-bf-slider__slide:focus-visible { outline: 3px solid var(--e-global-color-accent, #C1D9BA); outline-offset: -3px; }

.wedo-bf-slider__arrow {
	position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
	width: 44px; height: 44px; padding: 0; margin: 0;
	display: flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; cursor: pointer;
	background: rgba(255, 255, 255, .14); color: #fff;
	opacity: 0; transition: opacity .25s ease, background .2s ease;
}
.wedo-bf-slider:hover .wedo-bf-slider__arrow,
.wedo-bf-slider__arrow:focus-visible { opacity: 1; }
.wedo-bf-slider__arrow:hover { background: var(--e-global-color-accent, #C1D9BA); color: #171111; }
.wedo-bf-slider__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wedo-bf-slider__arrow--prev { left: 14px; }
.wedo-bf-slider__arrow--next { right: 14px; }

.wedo-bf-slider__dots {
	position: absolute; left: 0; right: 0; bottom: 15%; z-index: 3; /* above the bottom "BLACK FRIDAY" ribbon */
	display: flex; justify-content: center; gap: 8px;
}
.wedo-bf-slider__dot {
	width: 10px; height: 10px; padding: 0; margin: 0; border: 0; border-radius: 10px; cursor: pointer;
	background: rgba(255, 255, 255, .45); transition: width .25s ease, background .25s ease;
}
.wedo-bf-slider__dot.is-active { width: 26px; background: var(--e-global-color-accent, #C1D9BA); }

@media (hover: none) {
	.wedo-bf-slider__arrow { opacity: 1; }
}
@media (max-width: 1024px) {
	.wedo-bf-slider { border-radius: 20px; }
}
@media (max-width: 767px) {
	.wedo-bf-slider { border-radius: 16px; }
	.wedo-bf-slider__arrow { display: none; } /* swipe + dots on phones */
	.wedo-bf-slider__dots { bottom: 9.5%; gap: 6px; }
	.wedo-bf-slider__dot { width: 8px; height: 8px; }
	.wedo-bf-slider__dot.is-active { width: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.wedo-bf-slider__slide { transition: none; }
}

/* Reset theme/Elementor default button styles (Hello Elementor: pink #c36 on hover/focus/active). */
.wedo-bf-slider button.wedo-bf-slider__dot,
.wedo-bf-slider button.wedo-bf-slider__arrow {
	border: 0 !important; box-shadow: none !important; outline: none; text-decoration: none !important;
	-webkit-tap-highlight-color: transparent;
}
.wedo-bf-slider button.wedo-bf-slider__dot,
.wedo-bf-slider button.wedo-bf-slider__dot:hover,
.wedo-bf-slider button.wedo-bf-slider__dot:focus,
.wedo-bf-slider button.wedo-bf-slider__dot:active { background-color: rgba(255, 255, 255, .45) !important; color: inherit !important; }
.wedo-bf-slider button.wedo-bf-slider__dot:hover { background-color: rgba(255, 255, 255, .8) !important; }
.wedo-bf-slider button.wedo-bf-slider__dot.is-active,
.wedo-bf-slider button.wedo-bf-slider__dot.is-active:hover,
.wedo-bf-slider button.wedo-bf-slider__dot.is-active:focus,
.wedo-bf-slider button.wedo-bf-slider__dot.is-active:active { background-color: var(--e-global-color-accent, #C1D9BA) !important; }

.wedo-bf-slider button.wedo-bf-slider__arrow,
.wedo-bf-slider button.wedo-bf-slider__arrow:focus,
.wedo-bf-slider button.wedo-bf-slider__arrow:active { background-color: rgba(255, 255, 255, .14) !important; color: #fff !important; }
.wedo-bf-slider button.wedo-bf-slider__arrow:hover { background-color: var(--e-global-color-accent, #C1D9BA) !important; color: #171111 !important; }

/* Keyboard focus ring in brand colour instead of the browser/theme default. */
.wedo-bf-slider button.wedo-bf-slider__dot:focus-visible,
.wedo-bf-slider button.wedo-bf-slider__arrow:focus-visible { outline: 2px solid var(--e-global-color-accent, #C1D9BA) !important; outline-offset: 2px; }
