/* Padoppeldi Bewertungen – Farben und Maße hier oben anpassen */
.pdr-wrap {
	--pdr-blue: #1d9bf0;
	--pdr-star: #f2b01e;
	--pdr-star-off: #dcdcdc;
	--pdr-border: rgba(0, 0, 0, 0.09);
	--pdr-muted: #7a7a7a;
	--pdr-card-bg: #fff;
	--pdr-radius: 14px;
	--pdr-gap: 20px;
	--pdr-scroll-offset: 120px; /* Abstand unter dem Sticky-Header beim Springen */
}

#pdr-reviews,
#review_form_wrapper {
	scroll-margin-top: var(--pdr-scroll-offset, 120px);
}

.pdr-reviews {
	margin: 0 0 56px;
}

/* Kopfzeile */
.pdr-reviews .pdr-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}
.pdr-reviews .pdr-title {
	margin: 0 0 8px !important;
}
.pdr-reviews .pdr-summary {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--pdr-muted);
}
.pdr-reviews .pdr-summary strong {
	color: #222;
	font-weight: 700;
}

/* Rechte Seite: „Bewertung schreiben“ + Pfeile */
.pdr-reviews .pdr-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}
.pdr-reviews .pdr-write {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 18px;
	border: 1px solid #222;
	border-radius: 999px;
	color: #222;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s, color 0.15s;
}
.pdr-reviews .pdr-write[hidden] {
	display: none;
}
.pdr-reviews .pdr-write:hover {
	background: #222;
	color: #fff;
}

/* Pfeile */
.pdr-reviews .pdr-nav {
	display: none;
	gap: 8px;
}
.pdr-reviews.pdr-has-overflow .pdr-nav {
	display: flex;
}
.pdr-reviews .pdr-nav button {
	width: 44px;
	height: 44px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 1px solid var(--pdr-border);
	border-radius: 50%;
	background: #fff;
	color: #222;
	box-shadow: none;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.pdr-reviews .pdr-nav button:hover:not(:disabled) {
	background: #222;
	border-color: #222;
	color: #fff;
}
.pdr-reviews .pdr-nav button:disabled {
	opacity: 0.35;
	cursor: default;
}
.pdr-reviews .pdr-nav svg {
	width: 18px;
	height: 18px;
}

/* Slider */
.pdr-reviews .pdr-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 2 * var(--pdr-gap)) / 3);
	gap: var(--pdr-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	margin: 0;
	padding: 4px 0 22px; /* links bündig mit dem Inhalt */
}
.pdr-reviews .pdr-track::-webkit-scrollbar {
	display: none;
}
.pdr-reviews .pdr-track:focus-visible {
	outline: 2px solid var(--pdr-blue);
	outline-offset: 4px;
	border-radius: var(--pdr-radius);
}
@media (max-width: 959px) {
	.pdr-reviews .pdr-track {
		grid-auto-columns: calc((100% - var(--pdr-gap)) / 2);
	}
}
@media (max-width: 569px) {
	.pdr-reviews .pdr-track {
		grid-auto-columns: 86%;
	}
	.pdr-reviews.pdr-has-overflow .pdr-nav {
		display: none; /* mobil wird gewischt */
	}
}

/* Karte */
.pdr-reviews .pdr-card {
	scroll-snap-align: start;
	margin: 0;
	padding: 24px;
	background: var(--pdr-card-bg);
	border: 1px solid var(--pdr-border);
	border-radius: var(--pdr-radius);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.045);
}
.pdr-reviews .pdr-author {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #222;
}
.pdr-reviews .pdr-bought {
	margin-top: 3px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--pdr-muted);
}
.pdr-reviews .pdr-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 9px;
	padding: 3px 10px 3px 5px;
	border-radius: 999px;
	background: rgba(29, 155, 240, 0.1);
	color: var(--pdr-blue);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
}
.pdr-reviews .pdr-badge svg {
	width: 16px;
	height: 16px;
	flex: none;
}
.pdr-reviews .pdr-badge-seal {
	fill: var(--pdr-blue);
	stroke: var(--pdr-blue);
	stroke-width: 1.6;
	stroke-linejoin: round;
}
.pdr-reviews .pdr-badge-check {
	stroke: #fff;
}

/* Sterne */
.pdr-stars {
	position: relative;
	display: inline-block;
	line-height: 0;
	white-space: nowrap;
	vertical-align: middle;
}
.pdr-stars svg {
	width: 18px;
	height: 18px;
}
.pdr-stars-bg svg {
	fill: var(--pdr-star-off);
}
.pdr-stars-fg {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: var(--pdr-fill, 0%);
	overflow: hidden;
}
.pdr-stars-fg svg {
	fill: var(--pdr-star);
}
.pdr-reviews .pdr-card .pdr-stars {
	margin: 16px 0 10px;
}

/* Text */
.pdr-reviews .pdr-text {
	font-size: 15px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
	line-clamp: 7;
	overflow: hidden;
}
.pdr-reviews .pdr-text.is-open {
	display: block;
	-webkit-line-clamp: unset;
	line-clamp: unset;
}
.pdr-reviews .pdr-more {
	margin: 8px 0 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: #222;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: underline;
	cursor: pointer;
}
.pdr-reviews .pdr-pending {
	margin: 0 0 8px;
	font-size: 12px;
	color: #b26a00;
}

/* Antwort vom Shop */
.pdr-reviews .pdr-reply {
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.035);
	font-size: 14px;
	line-height: 1.55;
}
.pdr-reviews .pdr-reply-label {
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 700;
	color: #222;
}

.pdr-reviews .pdr-empty,
.pdr-reviews .pdr-info {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--pdr-muted);
}
.pdr-reviews .pdr-info a {
	color: inherit;
	text-decoration: underline;
}

/* Formular-Ergänzungen */
.pdr-form .pdr-field-hint {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--pdr-muted);
}
