

.ua-offers,
.ua-offers-swiper {
	width: 100%;
	margin: 20px 0;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ua-offers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 310px));
	gap: 32px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 10px;
	justify-content: center;
}

.ua-offer-link {
	text-decoration: none;
	color: inherit;
	display: block;
	height: 100%;
}

.ua-offer-polaroid {
	background: #fff;
	padding: 10px 10px 66px;
	border-radius: 3px;
	box-shadow: 0 6px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.ua-offers-grid > *:nth-child(4n+1) .ua-offer-polaroid { transform: rotate(-2deg); }
.ua-offers-grid > *:nth-child(4n+2) .ua-offer-polaroid { transform: rotate(1deg); }
.ua-offers-grid > *:nth-child(4n+3) .ua-offer-polaroid { transform: rotate(-1deg); }
.ua-offers-grid > *:nth-child(4n+4) .ua-offer-polaroid { transform: rotate(2deg); }

.swiper-slide:nth-child(4n+1) .ua-offer-polaroid { transform: rotate(-2deg); }
.swiper-slide:nth-child(4n+2) .ua-offer-polaroid { transform: rotate(1deg); }
.swiper-slide:nth-child(4n+3) .ua-offer-polaroid { transform: rotate(-1deg); }
.swiper-slide:nth-child(4n+4) .ua-offer-polaroid { transform: rotate(2deg); }

.ua-offer-polaroid:hover {
	transform: rotate(0deg) scale(1.03) !important;
	box-shadow: 0 16px 48px rgba(0,0,0,0.18);
	z-index: 2;
}

.ua-offer-polaroid-tape {
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%) rotate(-2deg);
	width: 60px;
	height: 20px;
	background: rgba(250,190,12,0.45);
	border-radius: 1px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	z-index: 3;
}

.ua-offer-polaroid-photo {
	width: 100%;
	height: 242px;
	background-size: cover;
	background-position: center;
	background-color: #e8e8e8;
	border-radius: 2px;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.ua-offer-polaroid-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
	display: flex;
	align-items: flex-end;
	padding: 14px;
}

.ua-offer-polaroid-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ua-offer-polaroid-loc {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.ua-offer-polaroid-details {
	font-size: 12px;
	color: rgba(255,255,255,0.85);
	text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.ua-offer-polaroid-date {
	font-size: 11px;
	color: rgba(255,255,255,0.7);
	text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.ua-offer-polaroid-nights {
	font-size: 11px;
	font-weight: 600;
	color: rgba(255,255,255,0.85);
	text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.ua-offer-polaroid-operator {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(255,255,255,0.85);
	padding: 4px 8px;
	border-radius: 6px;
	z-index: 2;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.ua-offer-polaroid-operator img {
	height: 18px;
	width: auto;
	display: block;
	object-fit: contain;
}

.ua-recommendation-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(46, 125, 50, 0.85);
	color: #fff;
	padding: 5px 11px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	text-shadow: 0 1px 2px rgba(0,0,0,0.3);
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 4px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.ua-offer-polaroid-bottom {
	position: absolute;
	bottom: 0;
	left: 14px;
	right: 14px;
	height: 66px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

.ua-offer-polaroid-name {
	font-family: 'Caveat', 'Brush Script MT', cursive;
	font-size: 17px;
	font-weight: 700;
	color: #2f4449;
	text-align: center;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0;
	padding: 0 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-decoration: underline transparent;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.3s ease;
}

.ua-offer-polaroid:hover .ua-offer-polaroid-name {
	text-decoration-color: #fabe0c;
}

.ua-offer-polaroid-price {
	position: absolute;
	bottom: 66px;
	right: -6px;
	background: #fabe0c;
	color: #2f4449;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.2);
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	z-index: 3;
	transform: rotate(-2deg);
}

.ua-offer-polaroid-price strong {
	font-size: 16px;
	font-weight: 800;
}

.swiper {
	padding: 20px 50px 10px !important;
}

.swiper-button-prev,
.swiper-button-next {
	color: #2f4449;
	background: #fff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0,0,0,.08);
	transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
	background: #fabe0c;
	color: #2f4449;
	transform: scale(1.1);
}

.swiper-button-prev:after,
.swiper-button-next:after {
	font-size: 18px;
	font-weight: bold;
}

.swiper-pagination {
	bottom: 0 !important;
}

.swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: #ddd;
	opacity: 1;
	transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
	background: #fabe0c;
	width: 24px;
	border-radius: 5px;
}

@media (max-width: 768px) {
	.swiper {
		padding: 15px 40px 10px !important;
	}

	.swiper-button-prev,
	.swiper-button-next {
		width: 32px;
		height: 32px;
	}

	.swiper-button-prev:after,
	.swiper-button-next:after {
		font-size: 14px;
	}

	.ua-offer-polaroid-photo {
		height: 180px;
	}

	.ua-offer-polaroid-name {
		font-size: 13px;
	}

	.ua-recommendation-badge {
		font-size: 10px;
		padding: 3px 7px;
	}

	.ua-offer-polaroid-price {
		font-size: 11px;
		padding: 4px 10px;
	}
	.ua-offer-polaroid-price strong {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.ua-offers-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.swiper {
		padding: 15px 30px 10px !important;
	}
}

@media (max-width: 1256px) and (min-width: 897px) {
	.ua-offers-grid > .ua-offer-link:nth-child(n+7),
	.ua-offers-grid > .ua-offer-card:nth-child(n+7),
	.ua-offers-grid > .ua-mk-halter:nth-child(n+7) {
		display: none !important;
	}
}

@media (max-width: 896px) {
	.ua-offers-grid > .ua-offer-link:nth-child(n+5),
	.ua-offers-grid > .ua-offer-card:nth-child(n+5),
	.ua-offers-grid > .ua-mk-halter:nth-child(n+5) {
		display: none !important;
	}
}

.ua-offer-rabatt {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	padding: 5px 10px;
	border-radius: 8px;
	background: #15803d;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .01em;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
	white-space: nowrap;
}

.ua-offer-polaroid-tape {
  background: url("tape.webp") center/contain no-repeat !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  width: 76px !important;
  height: 28px !important;
  margin-top: -5px !important;
}
