/* Product Reviews widget — structural styles. Colors/typography/spacing come
   from the widget's style controls (compiled per-instance), so only layout +
   spacing live here. */
.ractro-previews {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ractro-previews__summary {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.ractro-previews__stars {
	color: #f0b429;
	letter-spacing: 1px;
	font-size: 15px;
}

.ractro-previews__count {
	opacity: 0.75;
}

.ractro-previews__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ractro-previews__item {
	display: flex;
	gap: 14px;
	padding: 18px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ractro-previews__item:last-child {
	border-bottom: 0;
}

.ractro-previews__avatar img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: block;
}

.ractro-previews__content {
	flex: 1;
	min-width: 0;
}

.ractro-previews__meta {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 4px;
}

.ractro-previews__author {
	font-weight: 600;
}

.ractro-previews__verified {
	font-size: 12px;
	opacity: 0.6;
	font-style: italic;
}

.ractro-previews__date {
	font-size: 12px;
	opacity: 0.55;
	margin-left: auto;
}

.ractro-previews__body p {
	margin: 6px 0 0;
}

.ractro-previews__empty {
	opacity: 0.6;
	font-style: italic;
}

.ractro-previews__form-title {
	font-weight: 700;
	font-size: 18px;
	margin: 0 0 12px;
}

.ractro-previews__form .comment-form-rating,
.ractro-previews__form .comment-form-comment {
	margin-bottom: 14px;
}

.ractro-previews__form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.ractro-previews__form select,
.ractro-previews__form textarea,
.ractro-previews__form input:not([type='submit']) {
	width: 100%;
	max-width: 480px;
	padding: 10px 12px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	font: inherit;
}

.ractro-previews__form #submit {
	appearance: none;
	border: 0;
	border-radius: 6px;
	padding: 10px 22px;
	background: #4f46e5;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.ractro-previews--notice {
	padding: 18px;
	border: 1px dashed #cbd5e1;
	border-radius: 10px;
	color: #94a3b8;
	font-size: 13px;
	text-align: center;
}
