/**
 * Vioiv product reviews — Woobles-like list + collapsible composer.
 */

.vv-reviews {
	--vv-r-ink: #111;
	--vv-r-muted: #6b7280;
	--vv-r-line: #e5e7eb;
	--vv-r-soft: #f7f7f7;
	--vv-r-cream: #fbf7f2;
	--vv-r-brand: #2f5c4a;
	--vv-r-brand-deep: #245c48;
	--vv-r-star: #f5c518;
	--vv-r-star-empty: #d7d7d7;
	/* Kill Blocksy 2-col reviews grid (form left / list right) */
	display: block !important;
	grid-template-columns: minmax(0, 1fr) !important;
	column-gap: 0 !important;
	row-gap: 0 !important;
	margin: 0;
	padding: 8px 0 4px;
	color: var(--vv-r-ink);
}

#reviews.woocommerce-Reviews.vv-reviews,
.woocommerce #reviews.vv-reviews,
[data-content] .woocommerce-Reviews.vv-reviews,
[data-content="normal"] .woocommerce-Reviews.vv-reviews,
[data-content="normal"] #reviews.vv-reviews {
	display: block !important;
	grid-template-columns: minmax(0, 1fr) !important;
	column-gap: 0 !important;
}

/* Single stack: everything vertical so form cannot sit beside list */
.vv-reviews__stack {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: 100% !important;
	grid-column: 1 / -1 !important;
}

.vv-reviews__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	margin: 0 0 18px;
	width: 100%;
}

.vv-reviews__heading {
	margin: 0 !important;
	color: var(--vv-r-ink) !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.vv-reviews__intro {
	margin: 0 !important;
	color: var(--vv-r-muted) !important;
	font-size: 0.9375rem !important;
	line-height: 1.5 !important;
}

/* Toolbar: summary left + Write/Cancel top-right (like reference) */
.vv-reviews__toolbar {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px 24px;
	width: 100%;
	margin: 0 0 24px;
}

.vv-reviews__toggle {
	flex: 0 0 auto;
	margin: 0;
	padding: 10px 16px;
	color: #111 !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	white-space: nowrap;
	background: #fff !important;
	border: 1px solid #111 !important;
	border-radius: 4px !important;
	cursor: pointer;
	box-shadow: none !important;
}

.vv-reviews__toggle:hover {
	background: #f7f7f7 !important;
	color: #111 !important;
}

.vv-reviews__toggle.is-open {
	background: #fff !important;
	color: #111 !important;
}

/* Summary — flat, no heavy card */
.vv-reviews-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	width: auto;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
}

.vv-reviews-summary__score {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	flex: 0 0 auto;
	min-width: 0;
}

.vv-reviews-summary__number {
	display: none;
}

.vv-reviews-summary__count {
	color: var(--vv-r-muted);
	font-size: 0.8125rem;
}

.vv-reviews-summary__bars {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 0 1 280px;
	width: 280px;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* Use flex (not grid-in-button): buttons collapse 1fr tracks on mobile */
.vv-reviews-summary__bar-row {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 4px 2px !important;
	font-family: inherit !important;
	background: none !important;
	border: 0 !important;
	border-radius: 6px !important;
	box-sizing: border-box !important;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	text-align: left;
	transition: background-color 0.12s ease;
}

.vv-reviews-summary__bar-row:hover:not(:disabled) {
	background: var(--vv-r-soft) !important;
}

.vv-reviews-summary__bar-row:focus-visible {
	outline: 2px solid var(--vv-r-brand);
	outline-offset: 1px;
}

.vv-reviews-summary__bar-row.is-active {
	background: var(--vv-r-cream) !important;
}

.vv-reviews-summary__bar-row.is-active .vv-reviews-summary__bar-label,
.vv-reviews-summary__bar-row.is-active .vv-reviews-summary__bar-count {
	color: var(--vv-r-ink);
	font-weight: 700;
}

.vv-reviews-summary__bar-row:disabled {
	cursor: default;
	opacity: 0.55;
}

.vv-reviews-summary__bar-label {
	flex: 0 0 auto;
	min-width: 1.1em;
	color: var(--vv-r-muted);
	font-size: 0.75rem;
	font-weight: 600;
	text-align: left;
	line-height: 1;
}

.vv-reviews-summary__bar-track {
	display: block !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
	height: 8px !important;
	overflow: hidden !important;
	background: #eee !important;
	border: 0 !important;
	border-radius: 999px !important;
}

.vv-reviews-summary__bar-fill {
	display: block !important;
	height: 100% !important;
	min-width: 0 !important;
	background: var(--vv-r-star) !important;
	border-radius: inherit !important;
}

.vv-reviews-summary__bar-count {
	flex: 0 0 auto;
	color: var(--vv-r-muted);
	font-size: 0.75rem;
	line-height: 1.2;
	text-align: right;
	white-space: nowrap;
}

.vv-reviews-summary__bar-n {
	display: inline;
	margin-left: 2px;
	font-weight: 400;
}

/* Stars */
.vv-stars {
	display: inline-flex;
	gap: 2px;
	line-height: 1;
}

.vv-stars__star {
	position: relative;
	display: inline-block;
	width: 1em;
	height: 1em;
	font-size: 1rem;
}

.vv-stars__empty {
	color: var(--vv-r-star-empty);
}

.vv-stars__fill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	color: var(--vv-r-star);
	white-space: nowrap;
}

.vv-reviews-summary__score .vv-stars__star {
	font-size: 1.15rem;
}

/* Composer — full-width row; list stacks below (not beside) */
.vv-reviews__composer {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 36px;
	padding: 0 0 28px;
	border-bottom: 1px solid var(--vv-r-line);
	flex: 0 0 auto;
	float: none !important;
	clear: both !important;
}

.vv-reviews__composer[hidden] {
	display: none !important;
}

@keyframes vv-reviews-composer-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.vv-reviews__composer:not([hidden]) {
	animation: vv-reviews-composer-in 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.vv-reviews__form-wrap,
#reviews .vv-reviews__form-wrap,
#review_form_wrapper.vv-reviews__form-wrap {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	clear: both !important;
}

.vv-reviews__form-card,
#review_form.vv-reviews__form-card,
.vv-reviews #review_form {
	position: static !important;
	top: auto !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.vv-reviews__layout,
#reviews .vv-reviews__layout {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	clear: both !important;
	flex: 0 0 auto;
}

.vv-reviews__list-wrap,
#comments.vv-reviews__list-wrap {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}

.vv-reviews__list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.vv-reviews__list > li.is-page-hidden {
	display: none !important;
}

@media (max-width: 689.98px) {
	.vv-reviews__list > li:nth-child(n + 4):not(.is-revealed) {
		display: none !important;
	}
}

.vv-reviews__more-wrap {
	display: flex;
	justify-content: center;
	margin: 20px 0 6px;
}

.vv-reviews__more {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #f2f3f3 !important;
	color: #111 !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em;
	box-shadow: none !important;
}

.vv-reviews__more:hover {
	background: #e7e8e8 !important;
	color: #111 !important;
}

.vv-reviews__list-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin: 0 0 18px;
}

.vv-reviews__list-count {
	display: none;
}

.vv-reviews__pictures-first {
	margin: 0;
	padding: 8px 14px;
	color: #111 !important;
	font-size: 0.8125rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	font-family: inherit;
	background: #fff !important;
	border: 1px solid #cfcfcf !important;
	border-radius: 6px !important;
	cursor: pointer;
	box-shadow: none !important;
}

.vv-reviews__pictures-first:hover,
.vv-reviews__pictures-first[aria-pressed="true"] {
	border-color: #111 !important;
	background: #fff !important;
	color: #111 !important;
}

.vv-reviews__sort {
	position: relative;
	flex: 0 0 auto;
	margin-left: auto;
}

.vv-reviews__sort-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: 0;
	padding: 8px 10px;
	color: var(--vv-r-ink);
	font-size: 0.8125rem;
	font-weight: 600;
	font-family: inherit;
	line-height: 1.2;
	white-space: nowrap;
	background: transparent;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}

.vv-reviews__sort-toggle:hover {
	border-color: #b7b7b7;
}

.vv-reviews__sort[data-vv-open] .vv-reviews__sort-toggle,
.vv-reviews__sort-toggle:focus-visible {
	border-color: var(--vv-r-brand);
	outline: none;
}

.vv-reviews__sort-chevron {
	flex: 0 0 auto;
	color: var(--vv-r-muted);
	transition: transform 0.15s ease;
}

.vv-reviews__sort[data-vv-open] .vv-reviews__sort-chevron {
	transform: rotate(180deg);
}

.vv-reviews__sort-menu {
	position: absolute;
	z-index: 20;
	top: calc(100% + 6px);
	right: 0;
	min-width: 190px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(17, 17, 17, 0.12);
}

.vv-reviews__sort-menu[hidden] {
	display: none;
}

.vv-reviews__sort-option {
	padding: 9px 12px;
	color: var(--vv-r-ink);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.3;
	border-radius: 6px;
	cursor: pointer;
}

.vv-reviews__sort-option:hover {
	background: var(--vv-r-soft);
}

.vv-reviews__sort-option.is-selected {
	color: #fff;
	font-weight: 650;
	background: var(--vv-r-brand);
}

.vv-reviews__sort-option.is-selected:hover {
	background: var(--vv-r-brand-deep);
}

.vv-reviews__filter-status {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 0 0 24px;
	padding: 10px 16px;
	background: var(--vv-r-cream);
	border: 1px solid #e4d9cc;
	border-radius: 10px;
}

.vv-reviews__filter-status[hidden] {
	display: none;
}

.vv-reviews__filter-text {
	color: var(--vv-r-ink);
	font-size: 0.875rem;
	font-weight: 600;
}

.vv-reviews__filter-clear {
	margin: 0;
	padding: 0;
	color: var(--vv-r-brand);
	font-size: 0.875rem;
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 2px;
	background: none;
	border: 0;
	cursor: pointer;
}

.vv-reviews__filter-clear:hover {
	color: var(--vv-r-brand-deep);
}

.vv-reviews__filter-empty {
	margin: 0 !important;
	color: var(--vv-r-muted) !important;
	font-size: 0.9375rem !important;
}

.vv-reviews__filter-empty[hidden] {
	display: none !important;
}

.vv-reviews__empty-copy {
	margin: 0 !important;
	color: var(--vv-r-muted) !important;
	font-size: 0.9375rem !important;
}

/* Invite */
.vv-reviews__invite,
.vv-reviews__invite-panel {
	max-width: 560px;
	padding: 26px 26px 24px;
	background: #eef4f1;
	border: 1px solid #dbe9e2;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(17, 17, 17, 0.03);
}

.vv-reviews__invite-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 0 14px;
	color: var(--vv-r-brand);
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(17, 17, 17, 0.08);
}

.vv-reviews__invite-checklist {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 20px !important;
	padding: 0 !important;
	list-style: none !important;
}

.vv-reviews__invite-checklist li {
	position: relative;
	padding-left: 26px !important;
	color: var(--vv-r-ink) !important;
	font-size: 0.9375rem !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
}

.vv-reviews__invite-checklist li::after {
	content: "✓";
	position: absolute;
	top: 0;
	left: 0;
	width: 18px;
	height: 18px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	background: var(--vv-r-brand);
	border-radius: 50%;
}

.vv-reviews__invite-footnote {
	margin: 14px 0 0 !important;
	padding-top: 14px !important;
	color: var(--vv-r-muted) !important;
	font-size: 0.8125rem !important;
	line-height: 1.5 !important;
	border-top: 1px solid #dbe9e2 !important;
}

.vv-reviews__invite--inline {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.vv-reviews__invite-title {
	margin: 0 0 8px !important;
	color: var(--vv-r-ink) !important;
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

.vv-reviews__invite-copy {
	margin: 0 0 16px !important;
	color: var(--vv-r-muted) !important;
	font-size: 0.9375rem !important;
	line-height: 1.55 !important;
}

.vv-reviews__invite-hint {
	margin: 0 !important;
	color: #8a9690 !important;
	font-size: 0.8125rem !important;
	line-height: 1.5 !important;
}

.vv-reviews__invite-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
}

.vv-reviews__invite-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	min-height: 46px !important;
	padding: 11px 20px !important;
	color: #fff !important;
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	background: var(--vv-r-brand) !important;
	border: 0 !important;
	border-radius: 10px !important;
	box-shadow: 0 1px 2px rgba(17, 17, 17, 0.06) !important;
	transition: background-color 0.14s ease, transform 0.14s ease, box-shadow 0.14s ease;
}

.vv-reviews__invite-btn svg {
	transition: transform 0.14s ease;
}

.vv-reviews__invite-btn:hover {
	color: #fff !important;
	background: var(--vv-r-brand-deep) !important;
	box-shadow: 0 4px 14px rgba(36, 92, 72, 0.28) !important;
	transform: translateY(-1px);
}

.vv-reviews__invite-btn:hover svg {
	transform: translateX(2px);
}

.vv-reviews__invite-link {
	color: var(--vv-r-brand) !important;
	font-size: 0.875rem !important;
	font-weight: 650 !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
}

/* Review card — match reference */
.vv-reviews .commentlist li.vv-review-card,
.vv-review-card {
	margin: 0 0 44px !important;
	padding: 0 !important;
	list-style: none !important;
	border: 0 !important;
	border-top: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.vv-review-card:last-child {
	margin-bottom: 0 !important;
}

.vv-review-card__inner.comment_container,
.vv-review-card__inner {
	display: grid !important;
	grid-template-columns: 36px minmax(0, 1fr) !important;
	gap: 0 14px !important;
	align-items: start !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.vv-review-card__avatar {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 36px !important;
	height: 36px !important;
	overflow: hidden !important;
	background: #e8e8e8 !important;
	border-radius: 50% !important;
	flex-shrink: 0 !important;
}

.vv-review-card__avatar-letter {
	color: #555 !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
}

.vv-review-card__avatar-img,
.vv-review-card .avatar {
	display: block !important;
	width: 36px !important;
	height: 36px !important;
	margin: 0 !important;
	object-fit: cover !important;
	border-radius: 50% !important;
}

.vv-review-card__body.comment-text,
.vv-review-card__body {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	min-width: 0 !important;
}

.vv-review-card__top {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 6px 8px !important;
	margin: 0 0 4px !important;
}

.vv-review-card__top .vv-stars {
	gap: 1px;
}

.vv-review-card__top .vv-stars__star {
	font-size: 0.95rem;
}

.vv-review-card__date {
	color: #666 !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
}

.vv-review-card__provenance {
	margin: 0 0 6px !important;
	color: #565959 !important;
	font-size: 0.8125rem !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
}

.vv-review-card__provenance time {
	color: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
}

.vv-review-card__title--inline {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #0f1111 !important;
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

.vv-review-card__who {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 0 6px !important;
}

.vv-review-card__author {
	color: #111 !important;
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

.vv-review-card__purchase {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 6px 8px !important;
	margin: 0 0 6px !important;
	color: #565959 !important;
	font-size: 0.8125rem !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
}

.vv-review-card__variant {
	color: #111 !important;
	font-weight: 700 !important;
}

.vv-review-card__purchase-sep {
	color: #888 !important;
	font-weight: 400 !important;
}

.vv-review-card__verified {
	display: inline !important;
	color: #c45500 !important;
	font-size: inherit !important;
	font-weight: 700 !important;
	line-height: inherit !important;
}

.vv-review-card__title {
	margin: 0 0 6px !important;
	color: #111 !important;
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
}

.vv-review-card__text,
.vv-review-card__text p,
.vv-review-card__body .description,
.vv-review-card__body .description p {
	margin: 0 !important;
	color: #111 !important;
	font-size: 0.9375rem !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
}

.vv-review-card__clamp.is-clamped .vv-review-card__clamp-body {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

.vv-review-card__clamp-btn {
	margin: 6px 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: #0f766e;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 700;
	cursor: pointer;
}

.vv-review-card__clamp-btn:hover {
	text-decoration: underline;
}

.vv-heart {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #a8a29e;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 400;
	cursor: pointer;
	line-height: 1.3;
	vertical-align: middle;
	max-width: 100%;
	transition: color 0.15s ease;
}

.vv-heart--inline {
	min-height: 0;
	margin-left: 2px;
}

.vv-heart:hover:not(:disabled) {
	color: #e11d48;
}

.vv-heart:hover:not(:disabled) .vv-heart__icon {
	transform: scale(1.1);
}

.vv-heart__icon {
	display: block;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linejoin: round;
	transition: transform 0.15s ease, fill 0.15s ease;
}

.vv-heart.is-voted {
	color: #e11d48;
}

.vv-heart.is-voted .vv-heart__icon {
	fill: currentColor;
	stroke: currentColor;
}

.vv-heart[aria-busy="true"] {
	opacity: 0.55;
	pointer-events: none;
}

.vv-heart__label,
.vv-heart__count {
	color: #565959;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.3;
	text-align: left;
}

.vv-heart.is-voted .vv-heart__label,
.vv-heart.is-voted .vv-heart__count {
	color: #565959;
}

.vv-heart__count:empty {
	display: none;
}

.vv-heart.is-voted .vv-heart__icon {
	animation: vv-heart-pop 0.35s ease;
}

@keyframes vv-heart-pop {
	0% { transform: scale(1); }
	40% { transform: scale(1.22); }
	100% { transform: scale(1); }
}

.vv-review-card__text p + p {
	margin-top: 0.55em !important;
}

.vv-review-card__pending {
	margin: 0 !important;
	color: var(--vv-r-muted) !important;
	font-size: 0.875rem !important;
}

.vv-review-card__media {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 8px;
	margin-top: 12px;
}

/* Children flatten into .media so photo + video share one row */
.vv-review-card__media .vv-review-card__photos,
.vv-review-card__media .vv-review-card__video {
	display: contents;
}

.vv-review-card__photos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.vv-review-card__media .vv-review-card__photos {
	margin-top: 0;
}

.vv-review-card__photo-link {
	display: block;
	overflow: hidden;
	width: 144px;
	height: 144px;
	max-width: 144px;
	border: 0;
	border-radius: 8px;
	background: #f3f3f3;
	line-height: 0;
	flex: 0 0 auto;
}

.vv-review-card__photo {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	margin: 0 !important;
	border-radius: 8px !important;
}

.vv-review-card__photo-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 8px;
	box-sizing: border-box;
	font-size: 0.8rem;
	font-weight: 600;
	color: #555;
	text-align: center;
}

/* Review photo lightbox */
html.vv-review-lb-open,
html.vv-review-lb-open body {
	overflow: hidden;
}

.vv-review-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 48px 56px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.78);
	cursor: zoom-out;
}

.vv-review-lb.is-open {
	display: flex;
}

.vv-review-lb__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: min(320px, 86vw);
	min-height: min(320px, 50vh);
	max-width: min(920px, 100%);
	max-height: min(86vh, 100%);
	cursor: default;
}

.vv-review-lb__img {
	display: block;
	max-width: 100%;
	max-height: min(86vh, 100%);
	width: auto;
	height: auto;
	margin: 0 auto;
	border-radius: 2px;
	background: #1a1a1a;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.vv-review-lb__img[hidden],
.vv-review-lb__video[hidden] {
	display: none !important;
}

.vv-review-lb__video {
	display: block;
	max-width: min(920px, 100%);
	max-height: min(86vh, 100%);
	width: auto;
	height: auto;
	margin: 0 auto;
	border-radius: 2px;
	background: #000;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.vv-review-lb__stage.is-waiting-video .vv-review-lb__video {
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
}

.vv-review-lb__stage.is-waiting-video .vv-review-lb__img {
	width: auto;
	height: min(86vh, 100%);
	max-width: min(92vw, 920px);
	max-height: min(86vh, 100%);
	object-fit: contain;
}

.vv-review-lb__play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0;
	padding: 0;
	transform: translate(-50%, -50%);
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	cursor: pointer;
}

.vv-review-lb__play[hidden] {
	display: none !important;
}

.vv-review-lb__play::after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	margin: 0 0 0 2px;
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent #fff;
}

.vv-review-lb__img.is-preview {
	filter: blur(1.5px) brightness(0.92);
	transform: scale(1.01);
}

.vv-review-lb__spinner {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	border: 3px solid rgba(255, 255, 255, 0.28);
	border-top-color: #fff;
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.vv-review-lb__stage.is-loading .vv-review-lb__spinner {
	opacity: 1;
	animation: vv-review-lb-spin 0.7s linear infinite;
}

@keyframes vv-review-lb-spin {
	to {
		transform: rotate(360deg);
	}
}

.vv-review-lb__counter {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 2px 8px;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.4;
	pointer-events: none;
}

.vv-review-lb__close {
	position: absolute;
	top: 12px;
	right: 14px;
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 0;
	padding: 0;
	background: transparent;
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

.vv-review-lb__close:hover {
	opacity: 0.85;
}

.vv-review-lb__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 48px;
	height: 64px;
	border: 0;
	padding: 0;
	background: transparent;
	color: #fff;
	font-size: 3rem;
	line-height: 1;
	cursor: pointer;
}

.vv-review-lb__nav:hover {
	opacity: 0.85;
}

.vv-review-lb__nav--prev {
	left: 8px;
}

.vv-review-lb__nav--next {
	right: 8px;
}

.vv-review-lb__nav[hidden] {
	display: none !important;
}

.vv-review-lb.is-reel {
	padding: 48px 12px 24px;
	background: rgba(10, 9, 8, 0.94);
	cursor: default;
}

.vv-review-lb.is-reel .vv-review-lb__stage {
	max-width: min(92vw, 920px);
	max-height: min(86vh, 100%);
}

.vv-review-lb.is-reel .vv-review-lb__img,
.vv-review-lb.is-reel .vv-review-lb__video,
.vv-review-lb.is-reel .vv-review-lb__stage.is-waiting-video .vv-review-lb__img {
	width: auto;
	height: min(86vh, 100%);
	max-width: min(92vw, 920px);
	max-height: min(86vh, 100%);
	object-fit: contain;
	object-position: center;
}

.vv-review-lb.is-reel .vv-review-lb__stage.is-waiting-video .vv-review-lb__video {
	width: 1px;
	height: 1px;
}

.vv-review-lb.is-reel .vv-review-lb__close,
.vv-review-lb.is-reel .vv-review-lb__nav {
	z-index: 5;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	color: #222;
	font-size: 1.4rem;
	line-height: 40px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.vv-review-lb.is-reel .vv-review-lb__close {
	top: max(12px, env(safe-area-inset-top, 0px));
	right: 12px;
}

.vv-review-lb.is-reel .vv-review-lb__nav--prev {
	left: 10px;
}

.vv-review-lb.is-reel .vv-review-lb__nav--next {
	right: 10px;
}

.vv-review-lb.is-reel .vv-review-lb__counter {
	display: none;
}

.vv-review-lb__play.is-buffer {
	pointer-events: none;
}

.vv-review-lb__play.is-buffer::after {
	display: none;
}

.vv-review-lb__play.is-buffer::before {
	content: "";
	display: block;
	width: 22px;
	height: 22px;
	border: 2.5px solid rgba(255, 255, 255, 0.28);
	border-top-color: #fff;
	border-radius: 50%;
	animation: vv-review-lb-spin 0.7s linear infinite;
}

@media (max-width: 700px) {
	.vv-review-lb {
		padding: 40px 12px;
	}

	.vv-review-lb__nav {
		width: 36px;
		font-size: 2.4rem;
	}

	.vv-review-lb__nav--prev {
		left: 0;
	}

	.vv-review-lb__nav--next {
		right: 0;
	}
}

.vv-review-card .star-rating,
.vv-review-card .meta:not(.vv-review-card__meta),
.vv-review-card .woocommerce-review__dash,
.vv-review-card img.avatar:not(.vv-review-card__avatar-img) {
	display: none !important;
}

/* Form fields — flat white like reference */
.vv-reviews-form__rating {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 18px !important;
}

.vv-reviews-form__label,
.vv-reviews-form label {
	display: block !important;
	margin: 0 0 8px !important;
	color: #111 !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	white-space: normal !important;
	writing-mode: horizontal-tb !important;
}

.vv-reviews-form__hint-inline {
	color: var(--vv-r-muted);
	font-weight: 400;
}

.vv-star-picker {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 4px;
	margin: 0;
}

.vv-star-picker__btn {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	padding: 0;
	color: var(--vv-r-star-empty);
	font-size: 1.65rem;
	line-height: 1;
	background: none;
	border: 0;
	cursor: pointer;
	transition: color 0.12s ease;
}

.vv-reviews-form p.stars,
.vv-reviews #respond p.stars,
.vv-reviews .comment-form-rating > p.stars {
	display: none !important;
}

.vv-star-picker__btn:hover,
.vv-star-picker__btn.is-on,
.vv-star-picker__btn.is-preview {
	color: var(--vv-r-star);
	transform: none;
}

.vv-star-picker__select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.vv-star-picker__hint {
	margin: 0 !important;
	color: var(--vv-r-muted) !important;
	font-size: 0.8125rem !important;
}

.vv-reviews-form__field {
	margin: 0 0 18px !important;
}

.vv-reviews-form input[type="text"],
.vv-reviews-form input[type="email"],
.vv-reviews-form select,
.vv-reviews-form textarea {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	color: #111 !important;
	font-size: 0.9375rem !important;
	line-height: 1.4 !important;
	background: #fff !important;
	border: 1px solid #dcdcdc !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	transition: border-color 0.12s ease;
}

/* Native <select> clips text if padding + line-height fight the control height. */
.vv-reviews-form select,
.vv-reviews-form #vv_review_country {
	display: block !important;
	min-height: 44px !important;
	height: 44px !important;
	padding: 0 2.25rem 0 14px !important;
	line-height: 42px !important;
	overflow: visible !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-color: #fff !important;
}

.vv-reviews-form input[type="text"]:focus,
.vv-reviews-form input[type="email"]:focus,
.vv-reviews-form select:focus,
.vv-reviews-form textarea:focus {
	border-color: var(--vv-r-brand) !important;
	outline: none !important;
}

.vv-reviews-form textarea {
	min-height: 140px !important;
	resize: vertical;
}

.vv-reviews-form__photos {
	margin: 0 0 18px;
}

.vv-reviews-form__hint {
	margin: 0 0 10px !important;
	color: var(--vv-r-muted) !important;
	font-size: 0.75rem !important;
}

.vv-reviews-form__photo-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.vv-reviews-form__photo-add {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 108px !important;
	height: 108px !important;
	margin: 0 !important;
	color: #a1a6a4 !important;
	background: #f1f2f1 !important;
	border: 0 !important;
	border-radius: 12px !important;
	cursor: pointer !important;
	box-shadow: none !important;
	transition: background-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.vv-reviews-form__photo-icon {
	display: flex !important;
	line-height: 0 !important;
}

.vv-reviews-form__photo-add input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	overflow: hidden !important;
}

.vv-reviews-form__photo-add:hover {
	color: var(--vv-r-brand) !important;
	background: #e7ede9 !important;
	box-shadow: 0 2px 10px rgba(17, 17, 17, 0.08) !important;
}

.vv-reviews-form__photo-add:focus-within {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--vv-r-brand) !important;
}

.vv-reviews-form__photo-previews {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vv-reviews-form__preview {
	position: relative;
	width: 108px;
	height: 108px;
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid var(--vv-r-line);
}

.vv-reviews-form__preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vv-reviews-form__preview-remove {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 20px;
	height: 20px;
	padding: 0;
	color: #fff;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
	background: rgba(0, 0, 0, 0.55);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.vv-reviews-form__submit,
.vv-reviews-form .form-submit .submit,
.vv-reviews #respond .form-submit input,
.vv-reviews #respond .form-submit button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 160px !important;
	min-height: 44px !important;
	margin: 8px 0 0 !important;
	padding: 10px 20px !important;
	color: #fff !important;
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	background: var(--vv-r-brand) !important;
	border: 0 !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	box-shadow: none !important;
}

.vv-reviews-form__submit:hover,
.vv-reviews #respond .form-submit button:hover {
	background: var(--vv-r-brand-deep) !important;
}

.vv-reviews #respond {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

.vv-reviews .comment-form-cookies-consent,
.vv-reviews .comment-form-gdpr,
.vv-reviews .acfwf-privacy-policy-text,
.vv-reviews p[class*="privacy"] {
	display: none !important;
}

.vv-product-rating {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px 10px !important;
	margin: 0 0 12px !important;
}

.vv-product-rating__link {
	color: #6b7c74 !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
}

.vv-product-rating__link:hover {
	color: #2f5c4a !important;
}

.vv-product-rating .vv-stars__star {
	font-size: 1.05rem;
}

@media (max-width: 900px) {
	.vv-reviews-summary {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		width: 100%;
	}

	.vv-reviews-summary__bars {
		flex: 1 1 auto;
		width: 100%;
		max-width: 100%;
	}

	.vv-reviews__toolbar {
		flex-wrap: wrap;
		width: 100%;
	}

	.vv-reviews__toolbar-summary {
		width: 100%;
		min-width: 0;
		flex: 1 1 100%;
	}

	.vv-reviews__toggle {
		align-self: flex-start;
	}
}

@media (max-width: 560px) {
	.vv-review-card {
		margin-bottom: 36px !important;
	}

	.vv-review-card__inner.comment_container,
	.vv-review-card__inner {
		grid-template-columns: 32px minmax(0, 1fr) !important;
		gap: 0 12px !important;
	}

	.vv-review-card__avatar,
	.vv-review-card__avatar-img,
	.vv-review-card .avatar {
		width: 32px !important;
		height: 32px !important;
	}

	.vv-review-card__photo-link {
		width: 120px;
		height: 120px;
		max-width: 120px;
	}

	.vv-review-card__photo {
		width: 100% !important;
		height: 100% !important;
		max-height: none !important;
	}
}
