@font-face {
	font-family: 'EPS Perandory';
	src: url('../fonts/Perandory-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'EPS Seasons Light';
	src: url('../fonts/TheSeasons-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

.eps-slider {
	--eps-navy: #304254;
	--eps-white: #ffffff;
	position: relative;
	width: 100%;
	aspect-ratio: 1000 / 553;
	border-radius: 24px;
	overflow: hidden;
	background: #ccc;
	container-type: inline-size;
	container-name: eps-slider;
	box-sizing: border-box;
}

@media (max-width: 600px) {
	.eps-slider {
		aspect-ratio: 3 / 4;
		border-radius: 14px;
	}

	.eps-slide-content { padding-top: 8%; }

	.eps-slide-title {
		font-size: clamp(42px, 12.5cqw, 68px);
	}

	.eps-slide-subtitle {
		font-size: clamp(18px, 4.5cqw, 24px);
	}

	.eps-slide-product {
		margin-top: 5%;
		height: clamp(150px, 50%, 460px) !important;
	}

	.eps-slide-shop {
		bottom: 9%;
		font-size: clamp(19px, 5cqw, 26px);
		padding: clamp(14px, 3cqw, 17px) clamp(34px, 7.5cqw, 44px);
	}

	.eps-arrow {
		width: clamp(34px, 9cqw, 46px);
	}
}

.eps-slider * { box-sizing: border-box; }

.eps-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.eps-slide.is-active { opacity: 1; visibility: visible; }

.eps-slide-bg {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center;
	z-index: 0;
	margin: 0;
}

.eps-slide-content {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 6.5%;
}

.eps-slide-title {
	font-family: 'EPS Perandory', serif;
	font-size: clamp(26px, 6.4cqw, 64px);
	letter-spacing: 2px;
	margin: 0;
	line-height: 1;
	text-align: center;
	padding: 0 4%;
	color: var(--eps-navy);
	transition: color 0.4s ease;
}

.eps-slide-subtitle {
	font-family: 'GFS Didot', serif;
	font-size: clamp(11px, 2cqw, 20px);
	margin: clamp(4px, 1cqw, 10px) 0 0 0;
	text-align: center;
	color: var(--eps-navy);
	transition: color 0.4s ease;
}

.eps-slide-product {
	margin-top: 3%;
	height: clamp(90px, 45%, 380px) !important;
	width: auto !important;
	max-width: 90% !important;
	filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.eps-slide-shop {
	position: absolute;
	bottom: 8%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	background: var(--eps-white);
	color: var(--eps-navy);
	border: none;
	font-family: 'EPS Seasons Light', serif;
	font-size: clamp(15px, 2.4cqw, 22px);
	letter-spacing: 1px;
	padding: clamp(10px, 1.6cqw, 15px) clamp(26px, 4.2cqw, 42px);
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	white-space: nowrap;
}

.eps-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	width: clamp(16px, 3.4cqw, 34px);
	aspect-ratio: 375 / 584;
	outline: none;
	box-shadow: none;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
	-webkit-appearance: none;
}

.eps-arrow:hover,
.eps-arrow:focus,
.eps-arrow:focus-visible,
.eps-arrow:active {
	background: none !important;
	outline: none !important;
	box-shadow: none !important;
	border: none !important;
}

.eps-arrow--prev { left: 3%; transform: translateY(-50%) scaleX(-1); }
.eps-arrow--next { right: 3%; }

.eps-arrow img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: contain !important;
	margin: 0;
	transition: opacity 0.4s ease;
}

.eps-arrow-white { opacity: 0; }
.eps-arrow-navy { opacity: 1; }
