/**
 * Page Offers — Gift vouchers special offers carousel (3 cards).
 * Image, title, subtitle, grey pricing pill (price + loyalty). Mobile: Swiper; desktop: grid.
 */

.page-offers {
	background-color: #fff;
	padding: 60px 0 80px;
}

@media (min-width: 768px) {
	.page-offers {
		padding: 80px 0 100px;
	}
}

.page-offers__inner {
	display: flex;
	flex-direction: column;
	gap: 48px;
	padding: 0 24px;
	box-sizing: border-box;
}

@media (min-width: 1100px) {
	.page-offers__inner {
		padding: 0;
		max-width: 1200px;
		margin-left: auto;
		margin-right: auto;
	}
}

.page-offers__title {
	color: #000;
    text-align: center;
    font-family: Playfair !important;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

@media (min-width: 900px) {
	.page-offers__title {
		font-size: 32px;
	}
}

@media (min-width: 1100px) {
	.page-offers__title {
		font-size: 36px;
	}
}

/* Mobile: Swiper carousel */
.page-offers__slider {
	width: 100%;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.page-offers__slider .swiper-wrapper {
	display: flex;
	order: 1;
}

.page-offers__slider .swiper-slide {
	flex-shrink: 0;
	width: 100%;
	box-sizing: border-box;
}

.page-offers__pagination {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	bottom: auto !important;
	margin-top: 24px;
	order: 2;
	--swiper-pagination-bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0;
}

.page-offers__pagination .swiper-pagination-bullet {
	width: 33%;
	height: 1px;
	border-radius: 2px;
	background: #ccc;
	opacity: 1;
	transition: background 0.2s, width 0.2s;
	margin: 0 !important;
}

.page-offers__pagination .swiper-pagination-bullet-active {
	background: #8ea9a2;
	width: 33%;
	height: 6px;
	z-index: 99;
	border-radius: 12px;
}

/* Desktop: grid (when Swiper not initialized) */
@media (min-width: 900px) {
	.page-offers__slider:not(.swiper-initialized) {
		/* display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 40px; */
	}

	.page-offers__slider:not(.swiper-initialized) .swiper-wrapper {
		display: flex;
		flex-wrap: wrap;
		gap: 40px;
		justify-content: center;
	}

	.page-offers__slider:not(.swiper-initialized) .swiper-slide {
		flex: 0 0 31%;
	}

	.page-offers__pagination,
	.page-offers .swiper-pagination {
		display: none !important;
	}
}

/* Card */
.page-offers__card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	max-width: 360px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.page-offers__card-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	color: inherit;
	width: 100%;
	box-sizing: border-box;
}

.page-offers__card-inner:hover .page-offers__card-image {
	opacity: 0.95;
}

.page-offers__card-image-wrap {
	width: 100%;
	height: 210px;
	margin-bottom: 35px;
	overflow: hidden;
	background: #f7f0ed;
}

.page-offers__card-image-wrap--placeholder {
	min-height: 180px;
	background: #eee;
}

.page-offers__card-image {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.page-offers__card-heading {
	color: #1a1a1a;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 8px;
	text-align: center;
}

@media (min-width: 1100px) {
	.page-offers__card-heading {
		font-size: 24px;
	}
}

.page-offers__card-subtitle {
	color: #666;
	font-family: Nunito, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 0 30px 0;
	text-align: center;
}

.page-offers__card-price-block {
	width: 18rem;
	background-color: #f0f0f0;
	border-radius: 999px;
	padding: 16px 20px 16px 22px;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	box-sizing: border-box;
	margin-top: auto;
	justify-content: center;
}

.page-offers__card-price-block--loyalty-only {
	justify-content: flex-end;
}

.page-offers__card-price-col {
	text-align: left;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	min-width: 0;
}

.page-offers__card-price {
	display: block;
	color: #1a1a1a;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.15;
}

.page-offers__card-per-session {
	display: block;
	color: #666;
	font-family: Nunito, Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
}

.page-offers__card-loyalty-col {
	text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
    max-width: 130px;
}

.page-offers__card-loyalty-earn {
	display: block;
	color: #333;
	font-family: Nunito, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.page-offers__card-loyalty-sub {
	display: block;
	color: #666;
	font-family: Nunito, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	max-width: 140px;
}
