/**
 * Wexofy Photo Reviews Pro — questions & answers and the reviews wall.
 * Shared components (stars, buttons, forms, notices) come from the free plugin's stylesheet.
 */

.wxprev-wall [hidden] { display: none !important; }
.wxprev-wall blockquote { margin: 0; padding: 0; border: 0; background: none; font-style: normal; quotes: none; }
.wxprev-wall blockquote::before,
.wxprev-wall blockquote::after { content: none; }

/* ---------- Reviews wall ---------- */
.wxprev-wall { margin: 2.5rem 0; color: #1f2328; }
.wxprev-wall__title {
	text-align: center;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1.6rem;
	color: #1f2328;
}
.wxprev-wall__grid {
	display: grid;
	grid-template-columns: repeat(var(--wxprev-cols, 3), minmax(0, 1fr));
	gap: 18px;
}
.wxprev-wall__card {
	margin: 0;
	border: 1px solid var(--wxprev-line);
	border-radius: var(--wxprev-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #fff;
}
.wxprev-wall__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wxprev-bg-soft); }
.wxprev-wall__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wxprev-wall__body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.wxprev-wall__body blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	quotes: none;
	font-style: normal;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #33383d;
	flex: 1;
}
.wxprev-wall__body blockquote::before,
.wxprev-wall__body blockquote::after { content: none; }
.wxprev-wall__author { font-size: 0.85rem; font-weight: 600; color: #1f2328; }
.wxprev-wall__verified {
	display: inline-flex;
	width: 15px;
	height: 15px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--wxprev-verified);
	color: #fff;
	font-size: 10px;
	margin-left: 2px;
}
.wxprev-wall__product {
	font-size: 0.8rem;
	color: var(--wxprev-muted);
	text-decoration: none;
}
.wxprev-wall__product:hover { text-decoration: underline; }

/* ---------- Q&A ---------- */
.wxprev-qa { margin: 2.5rem 0; padding-top: 1.5rem; border-top: 1px solid var(--wxprev-line); }
.wxprev-qa__title { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.wxprev-qa__count {
	font-size: 13px;
	background: var(--wxprev-bg-soft);
	border-radius: 999px;
	padding: 2px 10px;
	color: var(--wxprev-muted);
}
.wxprev-qa-item { padding: 16px 0; border-bottom: 1px solid var(--wxprev-line); }
.wxprev-qa-item__q { display: flex; gap: 10px; font-weight: 600; margin: 0; }
.wxprev-qa-item__a { display: flex; gap: 10px; margin: 10px 0 0; }
.wxprev-qa-item__mark {
	flex: 0 0 auto;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--wxprev-bg-soft);
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 700;
}
.wxprev-qa-item__mark--a { background: var(--wxprev-verified); color: #fff; }
.wxprev-qa-item__meta { font-size: 12px; color: var(--wxprev-muted); margin: 4px 0 0; }
.wxprev-qa-item__pending { font-size: 13px; color: var(--wxprev-muted); margin: 8px 0 0; }
.wxprev-qa__ask { margin-top: 18px; }
.wxprev-qa__ask summary { display: inline-flex; list-style: none; }
.wxprev-qa__ask summary::-webkit-details-marker { display: none; }
.wxprev-qa__ask .wxprev-form { margin-top: 14px; }

@media (max-width: 720px) {
	.wxprev-wall__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.wxprev-wall__grid { grid-template-columns: 1fr; }
}
