/* =============================================================================
   Puro Google Reviews — Frontend CSS
   ========================================================================== */

/* ── 1. Slider wrapper ──────────────────────────────────────────────────────── */

.pgr-slider-wrap {
	display: flex;
	gap: 20px;
	overflow: hidden;
	/* Default height — override per page with e.g. style="height:800px" or custom CSS */
	height: 700px;
}

/* ── 2. Columns ─────────────────────────────────────────────────────────────── */

.pgr-column {
	flex: 1;
	overflow: hidden;
	position: relative;
}

/* ── 3. Scrolling track ─────────────────────────────────────────────────────── */

.pgr-track {
	display: flex;
	flex-direction: column;
	gap: 16px;
	will-change: transform;
}

/* Column 1 scrolls downward */
.pgr-column--down .pgr-track {
	animation: pgr-scroll-down var(--pgr-speed, 30s) linear infinite;
}

/* Column 2 scrolls upward */
.pgr-column--up .pgr-track {
	animation: pgr-scroll-up var(--pgr-speed, 30s) linear infinite;
}

/* Pause on hover */
.pgr-slider-wrap:hover .pgr-track {
	animation-play-state: paused;
}

@keyframes pgr-scroll-down {
	from { transform: translateY(0); }
	to   { transform: translateY(-50%); }
}

@keyframes pgr-scroll-up {
	from { transform: translateY(-50%); }
	to   { transform: translateY(0); }
}

/* ── 4. Review card ─────────────────────────────────────────────────────────── */

.pgr-card {
	border-radius: var(--Corner-radius-Buttons, 8px);
	border: 1px solid var(--color-goud-100, #E7CF9D);
	background: var(--color-goud-50, #FFF9EB);
	padding: 20px;
	flex-shrink: 0;
	box-sizing: border-box;
	margin-right: 1px;
}

.pgr-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px;
	gap: 12px;
}

.pgr-card-stars .pgr-stars,
.pgr-stars {
	color: #CEAA5D;
	font-size: 1em;
	line-height: 1;
	display: inline-flex;
	gap: 2px;
}

.pgr-card-date {
	color: #888;
	font-size: 0.82em;
	white-space: nowrap;
	flex-shrink: 0;
}

.pgr-card-name {
	font-weight: 700;
	color: #1A1A1A;
	margin: 0 0 8px;
	font-size: 1em;
	padding-top: 0rem;
	line-height: 1.3;
}

.pgr-card-text {
	color: #3D3D3D;
	font-size: 0.875em;
	line-height: 1.55;

	/* 3-line clamp */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;

	margin-bottom: 14px;
}

.pgr-read-more {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: #C4921A;
	font-weight: 600;
	font-size: 0.875em;
	font-family: inherit;
	text-decoration: none;
	line-height: 1.4;
}

.pgr-read-more:hover,
.pgr-read-more:focus {
	text-decoration: underline;
	outline: none;
}

/* ── 5. Aggregate shortcode spans ───────────────────────────────────────────── */

.pgr-rating {
	font-weight: 700;
}

.pgr-total-reviews {
	/* Inline; inherits parent styling */
}

/* ── 6. Popup overlay ───────────────────────────────────────────────────────── */

#pgr-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

#pgr-popup[hidden] {
	display: none;
}

.pgr-popup-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.pgr-popup-modal {
	position: relative;
	background: #FDFAF5;
	border-radius: 16px;
	padding: 36px;
	max-width: 560px;
	width: calc(100% - 40px);
	max-height: 80vh;
	overflow-y: auto;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
	animation: pgr-popup-in 0.22s ease;
}

@keyframes pgr-popup-in {
	from { opacity: 0; transform: scale(0.95) translateY(8px); }
	to   { opacity: 1; transform: scale(1) translateY(0); }
}

.pgr-popup-close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 50%;
	font-size: 1.2em;
	line-height: 1;
	width: 32px;
	height: 32px;
	cursor: pointer;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.15s, color 0.15s;
}

.pgr-popup-close:hover {
	background: rgba(0, 0, 0, 0.06);
	color: #1A1A1A;
}

.pgr-popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.pgr-popup-date {
	color: #888;
	font-size: 0.85em;
}

.pgr-popup-name {
	font-weight: 700;
	color: #1A1A1A;
	margin: 0 0 16px;
	font-size: 1.15em;
}

.pgr-popup-text {
	color: #3D3D3D;
	font-size: 0.95em;
	line-height: 1.7;
	white-space: pre-wrap;
	margin: 0;
}



/* ==========================================================================
   Kantoormeubelshop design (Yooker) - review-kaarten
   ========================================================================== */
.pgr-slider-wrap .pgr-column { padding: 6px 10px; }
.pgr-slider-wrap .pgr-card {
background: #fff;
border: 0;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
padding: 20px 22px;
margin: 0;
}
.pgr-slider-wrap .pgr-card-header { margin-bottom: 16px; }
.pgr-slider-wrap .pgr-stars { gap: 3px; }
.pgr-slider-wrap .pgr-card-date { color: #5c5c5c; font-size: 0.875em; }
.pgr-slider-wrap .pgr-card-name { font-family: inherit; font-size: 1rem; font-weight: 600; color: #1a1a1a; margin: 0 0 10px; }
.pgr-slider-wrap .pgr-card-text { color: #4d4d4d; font-size: 0.875em; line-height: 1.6; margin-bottom: 18px; }
.pgr-slider-wrap .pgr-read-more {
display: inline-flex;
align-items: center;
gap: 10px;
color: #ad1e57;
font-weight: 600;
font-size: 0.875em;
}
.pgr-slider-wrap .pgr-read-more:hover,
.pgr-slider-wrap .pgr-read-more:focus-visible { text-decoration: none; color: #8a1745; }
.pgr-read-more-arrow { transition: transform 0.2s ease; flex-shrink: 0; }
.pgr-read-more:hover .pgr-read-more-arrow { transform: translateX(3px); }

/* Mobiel: carousel i.p.v. scrollende kolommen (Yooker) */
.pgr-carousel { display: none; }
@media (max-width: 767px) {
.pgr-slider-wrap { display: none; }
.pgr-carousel { display: block; }
.pgr-carousel-track {
display: flex;
gap: 16px;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
padding: 6px 4px 14px;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
.pgr-carousel-track::-webkit-scrollbar { display: none; }
.pgr-carousel-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; }
.pgr-carousel .pgr-card {
width: 100%;
background: #fff;
border: 0;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
padding: 20px 18px;
margin: 0;
}
.pgr-carousel .pgr-card-header { margin-bottom: 16px; }
.pgr-carousel .pgr-stars { gap: 3px; }
.pgr-carousel .pgr-card-date { color: #5c5c5c; font-size: 0.875em; }
.pgr-carousel .pgr-card-name { font-family: inherit; font-size: 1rem; font-weight: 600; color: #1a1a1a; margin: 0 0 10px; }
.pgr-carousel .pgr-card-text { color: #4d4d4d; font-size: 0.875em; line-height: 1.6; margin-bottom: 18px; }
.pgr-carousel .pgr-read-more { display: inline-flex; align-items: center; gap: 10px; color: #ad1e57; font-weight: 600; font-size: 0.875em; }
.pgr-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.pgr-carousel-dot {
width: 7px;
height: 7px;
padding: 0;
border: 0;
border-radius: 50%;
background: rgba(173, 30, 87, 0.18);
cursor: pointer;
transition: background 0.2s;
}
.pgr-carousel-dot.is-active { background: #3d0a1f; }
}
