/* Yous Händler – Frontend */

.yous-haendler-wrap {
	margin: 1.5em 0;
}

/* Filter-Buttons */
.yous-haendler-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-bottom: 1.25em;
}

.yous-plz-filter {
	align-items: center;
	margin-top: -0.5em;
}

.yous-plz-filter--hidden {
	display: none;
}

.yous-plz-label {
	font-size: 0.85em;
	color: #666;
	white-space: nowrap;
}

.yous-filter-btn {
	display: inline-block;
	padding: 0.4em 1.1em;
	border: 2px solid currentColor;
	border-radius: 2em;
	background: transparent;
	color: inherit;
	font-size: 0.9em;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
	line-height: 1.4;
}

.yous-filter-btn:hover {
	background: #222;
	color: #fff;
	border-color: #222;
}

.yous-filter-btn.active {
	background: #222;
	color: #fff;
	border-color: #222;
}

/* Tabelle */
.yous-haendler-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9em;
}

.yous-haendler-table th,
.yous-haendler-table td {
	text-align: left;
	padding: 0.6em 0.75em;
	vertical-align: top;
	border-bottom: 1px solid #e0e0e0;
}

.yous-haendler-table thead th {
	background: #f5f5f5;
	font-weight: 600;
	border-bottom: 2px solid #ccc;
}

.yous-haendler-table tbody tr:hover {
	background: #fafafa;
}

.haendler-name {
	font-weight: 600;
	width: 220px;
	word-break: break-word;
}

.haendler-adresse {
	line-height: 1.5;
}

.haendler-telefon a,
.haendler-maps a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.haendler-telefon a:hover,
.haendler-maps a:hover {
	opacity: 0.7;
}

.haendler-email a {
	color: inherit;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	transition: opacity 0.15s;
}

.haendler-email a:hover {
	opacity: 0.6;
}

.haendler-email a svg {
	display: block;
}

/* Ausgeblendete Zeilen */
.yous-haendler-table tbody tr.yous-hidden {
	display: none;
}

/* Responsive */
@media (max-width: 680px) {
	.yous-haendler-table,
	.yous-haendler-table thead,
	.yous-haendler-table tbody,
	.yous-haendler-table th,
	.yous-haendler-table td,
	.yous-haendler-table tr {
		display: block;
	}

	.yous-haendler-table thead {
		display: none;
	}

	.yous-haendler-table tbody tr {
		margin-bottom: 1em;
		border: 1px solid #e0e0e0;
		border-radius: 4px;
		padding: 0.5em;
	}

	.yous-haendler-table tbody tr.yous-hidden {
		display: none;
	}

	.yous-haendler-table td {
		border: none;
		padding: 0.3em 0.5em;
	}

	.haendler-name {
		font-size: 1em;
		padding-top: 0.5em;
	}
}
