/**
 * Promo Offer Slider Styles
 * Matching Figma design with floating offer badges and ring pagination
 */

.pos-slider-container {
	position: relative;
	width: 100%;
	padding: 20px 0 35px 0;
	overflow: hidden;
	box-sizing: border-box;
}

.pos-swiper {
	width: 100%;
	overflow: visible !important; /* Allows peek cards without clipping */
	padding: 15px 0;
}

/* Slide Cards */
.swiper-slide.pos-slide {
	width: 440px !important;
	height: 560px !important;
	max-width: 85vw !important;
	border-radius: 16px;
	position: relative;
	overflow: hidden;
	flex-shrink: 0 !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
	cursor: pointer;
	box-sizing: border-box;
}

.swiper-slide.pos-slide:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* Slide Background Image */
.pos-slide-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: cover !important;
	object-position: center center !important;
	border-radius: 16px;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.swiper-slide.pos-slide:hover .pos-slide-image {
	transform: scale(1.03);
}

/* Floating Offer Badge (Bottom-Left) */
.pos-badge {
	position: absolute;
	bottom: 24px;
	left: 24px;
	background-color: #fcf9f2;
	border-radius: 14px;
	padding: 20px 28px;
	min-width: 165px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
	z-index: 10;
	display: flex;
	flex-direction: column;
	text-align: left;
	box-sizing: border-box;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.swiper-slide.pos-slide:hover .pos-badge {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

/* Badge Top Row */
.pos-badge-top {
	display: flex;
	align-items: center;
	gap: 8px;
	line-height: 1;
}

.pos-badge-number {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #4b5563;
}

.pos-badge-divider {
	width: 22px;
	height: 1px;
	background-color: #6b7280;
	display: inline-block;
}

.pos-badge-subtitle {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #4b5563;
	letter-spacing: 0.02em;
}

/* Main Offer Heading */
.pos-badge-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.15;
	color: #1e293b;
	margin: 10px 0 0 0;
	letter-spacing: -0.01em;
}

/* Custom Ring Pagination (Figma Style) */
.pos-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 32px;
	position: relative;
	z-index: 20;
}

/* Inactive Bullet */
.pos-bullet {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #9ca3af;
	opacity: 0.75;
	cursor: pointer;
	transition: all 0.25s ease;
	outline: none;
	display: inline-block;
	box-sizing: border-box;
	vertical-align: middle;
}

.pos-bullet:hover {
	background-color: #64748b;
	opacity: 1;
}

/* Active Ring Bullet (Circle outline with solid center dot) */
.pos-bullet-active {
	width: 17px;
	height: 17px;
	border-radius: 50%;
	border: 1.5px solid #111827;
	background-color: transparent !important;
	opacity: 1 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-sizing: border-box;
	vertical-align: middle;
}

.pos-bullet-active::after {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #111827;
	display: block;
}

/* Tablet Responsive */
@media (max-width: 991px) {
	.swiper-slide.pos-slide {
		width: 360px !important;
		height: 480px !important;
	}

	.pos-badge {
		padding: 16px 22px;
		bottom: 18px;
		left: 18px;
	}

	.pos-badge-title {
		font-size: 25px;
	}
}

/* Mobile Responsive */
@media (max-width: 767px) {
	.swiper-slide.pos-slide {
		width: 290px !important;
		height: 410px !important;
		border-radius: 14px;
	}

	.pos-badge {
		padding: 14px 18px;
		bottom: 14px;
		left: 14px;
		border-radius: 12px;
	}

	.pos-badge-title {
		font-size: 22px;
	}

	.pos-badge-number,
	.pos-badge-subtitle {
		font-size: 11.5px;
	}
}
