/* Preislisten: Senior/Master-Spalten, "Book in Fresha"-Button, keine Unterstreichung
   (Daten: scripts/prices-tiers-columns.php) */

/* Eintraege sind Links: nicht unterstreichen */
.elementor-price-list a,
.elementor-price-list a:hover,
.elementor-price-list a * {
	text-decoration: none;
}

/* "Book"-Button (Fresha) unter jeder Leistung (der ganze Eintrag ist der Fresha-Link) */
.elementor-price-list a[href*="fresha.com"] .elementor-price-list-text::after {
	content: "Book";
	display: table;
	margin-top: 12px;
	margin-left: auto; /* ganz rechts */
	padding: 7px 16px;
	border-radius: 4px;
	background: #d8b46c;
	color: #111;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: background 0.2s;
}

.elementor-price-list a[href*="fresha.com"]:hover .elementor-price-list-text::after {
	background: #e6c88a;
}

/* Spalten: Dauer | Senior | Master, Beschriftung ueber jedem Preis */
.mb-tiers {
	display: inline-flex;
	align-items: baseline;
	white-space: nowrap;
}

.mb-tiers .mb-dur {
	width: 100px;
	text-align: right;
	margin-right: 8px;
}

/* Grauer Kasten = nur der Preis; Label "Senior"/"Master" steht darueber */
.mb-tiers .mb-p {
	position: relative;
	box-sizing: border-box;
	display: inline-flex;
	align-items: baseline;
	justify-content: flex-end;
	width: 104px;
	margin-left: 6px;
	margin-top: 16px;
	padding: 5px 10px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.08);
	line-height: 1.25;
}

.mb-tiers .mb-p::before {
	position: absolute;
	right: 0;
	bottom: 100%;
	margin-bottom: 3px;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.8;
}

.mb-tiers .mb-p:nth-of-type(2)::before {
	content: "Senior";
}

.mb-tiers .mb-p:nth-of-type(3)::before {
	content: "Master";
}

.mb-tiers .mb-p::after {
	content: "AED";
	margin-left: 4px;
	font-size: 11px;
	font-weight: 500;
	opacity: 0.8;
}

/* Titel, Dauer und Preise auf einer gemeinsamen Grundlinie */
.elementor-price-list li:has(.mb-tiers) .elementor-price-list-header {
	align-items: baseline;
}

.elementor-price-list li:has(.mb-tiers) .elementor-price-list-separator {
	margin-bottom: 4px;
}

/* Fruehere Kopfzeile ausblenden (falls noch vorhanden) */
.elementor-price-list li:has(.mb-tiers-head) {
	display: none;
}

/* Desktop: Beschreibung endet vor den Preisspalten, Button oben rechts daneben */
@media (min-width: 768px) {
	.elementor-price-list li:has(.mb-tiers) .elementor-price-list-description {
		flex: 0 0 calc(100% - 228px);
		max-width: calc(100% - 228px);
	}

	.elementor-price-list li:has(.mb-tiers) a[href*="fresha.com"] .elementor-price-list-text::after {
		align-self: flex-start;
	}
}

/* Ohne Spalten (Einzelpreis) und auf dem Handy: Button rechts unter der Beschreibung */
.elementor-price-list li:not(:has(.mb-tiers)) .elementor-price-list-description {
	flex-basis: 100%;
}

@media (max-width: 767px) {
	.elementor-price-list li:has(.mb-tiers) .elementor-price-list-description {
		flex-basis: 100%;
	}

	.elementor-price-list li:has(.mb-tiers) .elementor-price-list-header {
		flex-wrap: wrap;
	}

	.elementor-price-list li:has(.mb-tiers) .elementor-price-list-separator {
		display: none;
	}

	.elementor-price-list li:has(.mb-tiers) .elementor-price-list-price {
		width: 100%;
		margin-top: 6px;
	}

	.mb-tiers {
		display: flex;
		width: 100%;
	}

	.mb-tiers .mb-dur {
		flex: 1;
		width: auto;
		text-align: left;
	}
}
