/* ec-bewertungen: Anzeige auf der Produktseite (DEV-1455). Mobil zuerst. */

/* Sterne */
.ec-bw-stars {
	display: inline-flex;
	gap: 2px;
	font-size: 16px;
	line-height: 1;
	color: #1c1c1a;
	vertical-align: middle;
}
.ec-bw-star {
	position: relative;
	display: inline-block;
	width: 1em;
	height: 1em;
}
.ec-bw-star svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: #1c1c1a;
	stroke-width: 1.4;
}
.ec-bw-star__fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	overflow: hidden;
}
.ec-bw-star__fill svg {
	fill: #1c1c1a;
}
.ec-bw-star--full .ec-bw-star__fill {
	width: 100%;
}
.ec-bw-star--half .ec-bw-star__fill {
	width: 50%;
}

/* Zeile unter dem Titel */
.ec-bw-rating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 0;
	font-family: "Figtree", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: #7a7570;
	text-decoration: none;
}
.ec-bw-rating:hover .ec-bw-rating__count,
.ec-bw-rating:focus-visible .ec-bw-rating__count {
	text-decoration: underline;
}
.ec-bw-rating__avg {
	color: #1c1c1a;
	font-weight: 500;
}

/* Passform-Hinweis */
.ec-bw-fit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 0 0 12px;
	font-family: "Figtree", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: #7a7570;
}
.ec-bw-fit__scale {
	display: inline-flex;
	gap: 3px;
}
.ec-bw-fit__seg {
	width: 22px;
	height: 4px;
	border-radius: 2px;
	background: #d9d5cf;
}
.ec-bw-fit__seg.is-on {
	background: #1c1c1a;
}
.ec-bw-fit__text {
	color: #1c1c1a;
}

/* Abschnitt */
.ec-bw {
	scroll-margin-top: 90px;
}
.ec-bw__inner {
	max-width: 880px;
	margin: 0 auto;
	width: 100%;
	font-family: "Figtree", sans-serif;
	color: #1c1c1a;
}
.ec-bw-sum {
	display: grid;
	gap: 24px;
}
.ec-bw-sum__main {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 12px;
}
.ec-bw-sum__main .ec-bw-stars {
	font-size: 20px;
}
.ec-bw-sum__avg {
	margin: 0;
	font-family: "Plus Jakarta Sans", "Figtree", sans-serif;
	font-size: 36px;
	font-weight: 500;
	line-height: 1;
}
.ec-bw-sum__count {
	margin: 0;
	font-size: 14px;
	color: #7a7570;
}
.ec-bw-dist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}
.ec-bw-dist__row {
	display: grid;
	grid-template-columns: 110px 1fr 28px;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: #7a7570;
}
.ec-bw-dist__bar {
	height: 6px;
	border-radius: 3px;
	background: #ece9e4;
	overflow: hidden;
}
.ec-bw-dist__fill {
	display: block;
	height: 100%;
	background: #1c1c1a;
}
.ec-bw-dist__n {
	text-align: right;
}
.ec-bw-fitdist__title {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #7a7570;
}

/* Liste */
.ec-bw-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ec-bw-item {
	padding: 20px 0;
	border-top: 1px solid #e6e2dc;
}
.ec-bw-item__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
}
.ec-bw-item__name {
	font-size: 15px;
	font-weight: 500;
}
.ec-bw-item__date {
	font-size: 13px;
	color: #7a7570;
}
.ec-bw-item__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin-top: 8px;
}
.ec-bw-badge,
.ec-bw-lang {
	font-size: 12px;
	line-height: 1.4;
	color: #7a7570;
}
.ec-bw-badge {
	padding: 1px 8px;
	border: 1px solid #cfcac3;
	border-radius: 999px;
	color: #1c1c1a;
}
.ec-bw-item__meta {
	margin: 10px 0 0;
	font-size: 13px;
	color: #7a7570;
}
.ec-bw-item__text {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}
.ec-bw-item__text p,
.ec-bw-reply__text p {
	margin: 0 0 0.7em;
}
.ec-bw-item__text p:last-child,
.ec-bw-reply__text p:last-child {
	margin-bottom: 0;
}
.ec-bw-item__photo {
	display: inline-block;
	margin-top: 12px;
	line-height: 0;
}
.ec-bw-item__img {
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 4px;
	background: #ece9e4;
}
.ec-bw-reply {
	margin: 14px 0 0 16px;
	padding: 2px 0 2px 14px;
	border-left: 2px solid #d9d5cf;
}
.ec-bw-reply__head {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 500;
}
.ec-bw-reply__date {
	font-weight: 400;
	color: #7a7570;
}
.ec-bw-reply__text {
	font-size: 14px;
	line-height: 1.6;
	color: #1c1c1a;
}

/* "Mehr Bewertungen": ohne JS ist alles sichtbar */
.ec-bw-more {
	display: none;
	align-self: flex-start;
	padding: 12px 24px;
	border: 1px solid #1c1c1a;
	border-radius: 0;
	background: transparent;
	font: inherit;
	font-size: 14px;
	color: #1c1c1a;
	cursor: pointer;
}
.ec-bw-more:hover,
.ec-bw-more:focus-visible {
	background: #1c1c1a;
	color: #fff;
}
.ec-bw--js .ec-bw-more {
	display: inline-block;
}
.ec-bw--js .ec-bw-more[hidden] {
	display: none;
}
.ec-bw--js .ec-bw-item--more:not(.is-open) {
	display: none;
}

.ec-bw-note {
	margin: 0;
	padding-top: 20px;
	border-top: 1px solid #e6e2dc;
	font-size: 12px;
	line-height: 1.6;
	color: #7a7570;
}
.ec-bw-note strong {
	font-weight: 500;
}

@media (min-width: 768px) {
	.ec-bw-sum {
		grid-template-columns: 1fr 1.4fr;
		align-items: start;
		gap: 24px 48px;
	}
	.ec-bw-sum__main,
	.ec-bw-fitdist {
		grid-column: 1;
	}
	.ec-bw-dist {
		grid-column: 2;
	}
	.ec-bw-fitdist .ec-bw-dist {
		grid-column: auto;
	}
}
