/* Offers slider — theme Swiper carousel (fade) + theme countdown, restyled to the design. */
.syf-coffee-offers {
	--syf-coffee-slider-h: clamp(360px, 40vw, 470px);
	--syf-coffee-overlay: rgba(11, 26, 46, .92);
	--syf-coffee-on-img: #fbf8f3;
	overflow: hidden;
	border-radius: var(--syf-coffee-r-xl);
	background: var(--syf-coffee-deep);
	box-shadow: 0 30px 70px var(--syf-coffee-shadow);
}

.syf-coffee-offers .wd-carousel {
	--wd-gap: 0px;
}

.syf-coffee-slide {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	height: var(--syf-coffee-slider-h);
	color: var(--syf-coffee-on-img);
}

.syf-coffee-slide > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.06);
	transition: transform 7s ease-out;
}

.syf-coffee-slide.wd-active > img {
	transform: scale(1);
}

.syf-coffee-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, var(--syf-coffee-overlay) 0%, color-mix(in srgb, var(--syf-coffee-overlay) 76%, transparent) 42%, color-mix(in srgb, var(--syf-coffee-overlay) 13%, transparent) 78%);
}

.rtl .syf-coffee-slide::after {
	background: linear-gradient(to left, var(--syf-coffee-overlay) 0%, color-mix(in srgb, var(--syf-coffee-overlay) 76%, transparent) 42%, color-mix(in srgb, var(--syf-coffee-overlay) 13%, transparent) 78%);
}

.syf-coffee-sx {
	position: relative;
	z-index: 2;
	max-width: 560px;
	padding: 0 clamp(24px, 5vw, 64px);
}

.syf-coffee .syf-coffee-sx-title {
	margin: 14px 0 10px;
	color: var(--syf-coffee-on-img);
	font-size: clamp(1.7rem, 3.6vw, 2.8rem);
	line-height: 1.25;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.syf-coffee .syf-coffee-sx-title em {
	color: var(--syf-coffee-peach);
}

.syf-coffee-sx p {
	max-width: 460px;
	margin: 0;
	opacity: .9;
}

.syf-coffee-sx-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
}

.syf-coffee-code {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 16px;
	border: 1.5px dashed rgba(251, 248, 243, .6);
	border-radius: 999px;
	background: rgba(251, 248, 243, .08);
	color: var(--syf-coffee-on-img);
	font-weight: 900;
	letter-spacing: 1px;
	text-transform: none;
}

button.syf-coffee-code:hover {
	background: rgba(251, 248, 243, .16);
	color: var(--syf-coffee-on-img);
}

/* Theme countdown in design circles */
.syf-coffee-offers .syf-coffee-cd {
	margin-top: 18px;
}

.syf-coffee-offers .syf-coffee-cd .wd-timer {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 8px;
}

.syf-coffee-offers .syf-coffee-cd .wd-item {
	display: grid;
	place-items: center;
	align-content: center;
	width: 62px;
	min-width: 0;
	height: 62px;
	padding: 0;
	border: 1px solid rgba(251, 248, 243, .3);
	border-radius: 50%;
	background: rgba(251, 248, 243, .14);
	line-height: 1;
}

.syf-coffee-offers .syf-coffee-cd .wd-timer-value {
	color: var(--syf-coffee-on-img);
	font-weight: 900;
	font-size: 1.3rem;
}

.syf-coffee-offers .syf-coffee-cd .wd-timer-text {
	color: var(--syf-coffee-on-img);
	font-size: .72rem;
	opacity: .8;
}

/* Controls: theme arrows + pagination, placed on the banner */
.syf-coffee-offers .wd-nav-arrows {
	position: absolute;
	top: auto;
	bottom: 22px;
	inset-inline-end: 26px;
	z-index: 3;
	display: flex;
	gap: 10px;
	margin: 0;
}

.syf-coffee-offers .wd-btn-arrow {
	position: static;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	border: 1px solid rgba(251, 248, 243, .35);
	border-radius: 50%;
	background: rgba(251, 248, 243, .16);
	color: var(--syf-coffee-on-img);
	opacity: 1;
	transform: none;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.syf-coffee-offers .wd-btn-arrow .wd-arrow-inner,
.syf-coffee-offers .wd-btn-arrow .wd-arrow-inner::before {
	color: inherit;
}

.syf-coffee-offers > .wd-nav-pagin-wrap {
	position: absolute;
	bottom: 38px;
	inset-inline-end: 136px;
	z-index: 3;
	margin: 0;
}

.syf-coffee-offers .wd-nav-pagin {
	display: flex;
	gap: 7px;
}

.syf-coffee-offers .wd-nav-pagin-item span {
	display: block;
	width: 9px;
	height: 9px;
	border: 0;
	border-radius: 99px;
	background: rgba(251, 248, 243, .45);
	transition: width .3s, background .3s;
}

.syf-coffee-offers .wd-nav-pagin-item.wd-active span {
	width: 26px;
	background: var(--syf-coffee-on-img);
}

@media (max-width: 768px) {
	.syf-coffee-offers {
		--syf-coffee-slider-h: 520px;
		border-radius: var(--syf-coffee-r-lg);
	}

	.syf-coffee-slide {
		align-items: flex-end;
	}

	.syf-coffee-slide::after,
	.rtl .syf-coffee-slide::after {
		background: linear-gradient(to top, var(--syf-coffee-overlay) 0%, color-mix(in srgb, var(--syf-coffee-overlay) 80%, transparent) 50%, color-mix(in srgb, var(--syf-coffee-overlay) 16%, transparent) 100%);
	}

	.syf-coffee-sx {
		padding: 0 22px 70px;
	}

	.syf-coffee-offers .wd-nav-arrows {
		display: none;
	}

	.syf-coffee-offers > .wd-nav-pagin-wrap {
		bottom: 26px;
		inset-inline: 0;
	}

	.syf-coffee-offers .wd-nav-pagin {
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.syf-coffee-offers .syf-coffee-cd .wd-item {
		width: 54px;
		height: 54px;
	}

	.syf-coffee-offers .syf-coffee-cd .wd-timer-value {
		font-size: 1.1rem;
	}
}
