.eiman-lp-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 24px 16px 60px;
}

.eiman-lp-hero {
	position: relative;
}

.eiman-lp-hero-img {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
}

.eiman-lp-hero-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 14, 8, 0) 45%, rgba(20, 14, 8, 0.55) 100%);
}

.eiman-lp-hero-img img {
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
	display: block;
}

.eiman-lp-hero h1 {
	margin-top: 18px;
	font-size: clamp(26px, 5vw, 34px);
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #241f1b;
}

.eiman-lp-intro {
	margin: 20px 0 8px;
	line-height: 1.75;
	font-size: 16px;
	color: #4a4038;
}

/* ------------------------------------------------------------------ Tabs */

.eiman-lp-tabs {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 10px;
	margin: 26px 0 6px;
	padding: 4px 2px 10px;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.eiman-lp-tabs::-webkit-scrollbar {
	display: none;
}

@media (min-width: 720px) {
	.eiman-lp-tabs {
		flex-wrap: wrap;
		overflow: visible;
	}
}

.eiman-lp-tab {
	flex: 0 0 auto;
	scroll-snap-align: start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px 10px 14px;
	border-radius: 999px;
	border: 1px solid #e4d6b8;
	background: #fff;
	font-size: 13.5px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	color: #6b5f52;
	box-shadow: 0 1px 3px rgba(43, 36, 32, 0.04);
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	outline: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.eiman-lp-tab-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	color: #b5762a;
	transition: color 0.2s ease;
}

.eiman-lp-tab:hover {
	background: #f6efe4;
	border-color: #ddc79a;
	transform: translateY(-1px);
}

.eiman-lp-tab.is-active {
	background: linear-gradient(135deg, #c98a3e, #a3671f);
	border-color: #a3671f;
	color: #fff;
	box-shadow: 0 8px 18px rgba(163, 103, 31, 0.28);
}

.eiman-lp-tab.is-active .eiman-lp-tab-icon {
	color: #fff;
}

/* ------------------------------------------------------------------ Grid */

.eiman-lp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 26px;
	margin-top: 28px;
}

/*
 * Matches the Eiman Related Tours "ert-card" design exactly (badge
 * overlay on a 4:3 photo, white body below with title + a bordered
 * footer row holding price and CTA) so a tour looks the same whether
 * it appears in the "Unsere Gäste buchen auch" slider or here in a
 * resort grid (Hurghada/El Gouna/El Quseir/…).
 */
.eiman-lp-card {
	--eiman-lp-accent: #c9a227;
	--eiman-lp-line: rgba(201, 162, 39, 0.35);
	position: relative !important;
	display: flex !important;
	flex-direction: column;
	border: 1px solid var(--eiman-lp-line);
	border-radius: 18px !important;
	overflow: hidden !important;
	text-decoration: none;
	color: #1a1a1a;
	background: #fff;
	box-shadow: 0 14px 30px rgba(20, 16, 10, 0.1);
	transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.eiman-lp-card:hover {
	border-color: var(--eiman-lp-accent);
	box-shadow: 0 22px 44px rgba(20, 16, 10, 0.18);
	transform: translateY(-5px);
}

.eiman-lp-card-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: #1c1c1c;
	background-size: cover;
	background-position: center;
	line-height: 0;
}

.eiman-lp-card-img {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.eiman-lp-card:hover .eiman-lp-card-img {
	transform: scale(1.06);
}

.eiman-lp-card-shade {
	position: absolute;
	inset: auto 0 0 0;
	height: 55%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
	pointer-events: none;
}

.eiman-lp-card-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	max-width: calc(100% - 28px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #f6f1e6;
	background: rgba(11, 11, 11, 0.78);
	border: 1px solid var(--eiman-lp-line);
	padding: 5px 11px;
	border-radius: 999px;
}

.eiman-lp-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 10px;
	padding: 18px 18px 20px;
}

.eiman-lp-card-body h3 {
	margin: 0 !important;
	font-family: 'Marcellus', serif !important;
	font-weight: 400 !important;
	font-size: 19px !important;
	line-height: 1.32;
	color: #1a1a1a;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.eiman-lp-card-foot {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--eiman-lp-line);
}

.eiman-lp-card-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
}

.eiman-lp-card-price .eiman-lp-price-main {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--eiman-lp-accent);
}

.eiman-lp-card-price .eiman-lp-price-old {
	font-size: 13px;
	color: #8a8074;
	text-decoration: line-through;
}

.eiman-lp-card-price .eiman-lp-price-save {
	padding: 3px 8px;
	border-radius: 4px;
	background: var(--eiman-lp-accent);
	color: #0b0b0b;
	font-size: 11px;
	font-weight: 700;
}

.eiman-lp-card-cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--eiman-lp-accent);
	background: transparent;
	border: 1px solid var(--eiman-lp-accent);
	padding: 11px 15px;
	border-radius: 999px;
	transition: background 0.25s ease, color 0.25s ease;
}

.eiman-lp-card-cta-arrow {
	transition: transform 0.25s ease;
}

.eiman-lp-card:hover .eiman-lp-card-cta {
	background: var(--eiman-lp-accent);
	color: #0b0b0b;
}

.eiman-lp-card:hover .eiman-lp-card-cta-arrow {
	transform: translateX(3px);
}

.eiman-lp-empty {
	color: #777;
	font-style: italic;
	margin-top: 24px;
}

/* Tab filter (frontend.js): must come after the .eiman-lp-card rule
   above and match its specificity so this !important wins the cascade
   and actually hides filtered-out cards. */
.eiman-lp-card.eiman-lp-hidden {
	display: none !important;
}
