/**
 * Front-end styles for the review shortcodes.
 *
 * The main card/grid layout is inherited from the host theme — the plugin
 * deliberately reuses `.review-card`, `.review-card-header`, `.review-card-text`,
 * etc. so any theme can style them once and both shortcodes render consistently.
 *
 * Only styles added here are rules for elements the plugin introduced itself
 * (which no theme will have CSS for). Keep this file minimal.
 */

.review-card-price {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	padding: 2px 8px;
	font-size: 0.85em;
	color: #5f6368;
	background: #f1f3f4;
	border-radius: 999px;
	line-height: 1.4;
}

/*
 * Inline "View more / View less" toggle for long reviews. The JS only
 * injects this markup when a review exceeds the configured character cap,
 * so the rules below are inert on short reviews and on pages where
 * truncation is disabled.
 */
.review-card-text__toggle {
	display: inline;
	margin: 0 0 0 4px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1a73e8;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.review-card-text__toggle:hover,
.review-card-text__toggle:focus {
	color: #0b57d0;
	text-decoration: none;
	outline: none;
}

.review-card-text__toggle:focus-visible {
	outline: 2px solid #1a73e8;
	outline-offset: 2px;
	border-radius: 2px;
}
