/**
 * Blocksy Reviews Plus — Popup v2 styles.
 *
 * Mirrors blocksy-reviews-plus-preview-popup.html exactly.
 */

.br-popup-root, .br-popup-root *,
.br-lightbox, .br-lightbox * {
	box-sizing: border-box;
}
.br-popup-root {
	position: fixed; inset: 0; z-index: 100000;
	background: rgba(15, 23, 42, .55);
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
}
.br-popup-root[hidden] { display: none !important; }
body.br-popup-open { overflow: hidden; }

.br-popup-shell {
	display: flex; align-items: center; gap: 12px;
	max-width: calc(100vw - 32px);
}

/* Outer prev/next buttons (outside the modal) */
.br-popup-nav {
	flex-shrink: 0;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: #fff; border: 0;
	color: #111827;
	font-size: 22px; line-height: 1;
	box-shadow: 0 4px 12px rgba(0,0,0,.18);
	display: inline-flex; align-items: center; justify-content: center;
	transition: transform .12s ease, background .12s ease;
	cursor: pointer;
}
.br-popup-nav:hover { background: #f3f4f6; transform: scale(1.06); }
.br-popup-nav:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.br-popup-nav.is-prev::before { content: '‹'; font-weight: 700; }
.br-popup-nav.is-next::before { content: '›'; font-weight: 700; }

/* The modal itself — 2 columns (image | content) */
.br-popup {
	background: #fff;
	width: 100%;
	max-width: 960px;
	max-height: 90vh;
	overflow: hidden;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(0,0,0,.30);
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	animation: br-popup-in .18s ease;
}
@keyframes br-popup-in {
	from { transform: translateY(8px) scale(.98); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

.br-popup-close {
	position: absolute; top: 10px; right: 12px;
	background: rgba(255,255,255,.85);
	border: 0; cursor: pointer;
	font-size: 24px; line-height: 1; color: #111827;
	width: 36px; height: 36px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 2px 6px rgba(0,0,0,.10);
	z-index: 10;
}
.br-popup-close:hover { background: #f3f4f6; color: #111827; }
.br-popup-root button {
	appearance: none;
	-webkit-appearance: none;
	font-family: inherit;
}

.br-popup-col-left {
	min-width: 0;
	background: #111827;
	overflow: hidden;
	align-self: stretch;
	display: flex;
	flex-direction: column;
}
.br-popup-col-right {
	min-width: 0;
	background: #fff;
	overflow-y: auto;
	max-height: 90vh;
}
.br-card-payload { display: none !important; }

/* ── Left column: fill modal height (do not use card thumb ratio) ─ */
.br-popup-gallery {
	display: block;
	background: #111827;
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
	min-height: 480px;
	flex: 1;
	color: #fff;
}
.br-popup-gallery-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 100%;
	width: 100%;
	height: 100%;
	min-height: 480px;
	align-items: stretch;
	transition: transform .35s cubic-bezier(.4,.2,.2,1);
}
.br-popup-gallery-slide {
	width: 100%;
	height: 100%;
	min-height: 480px;
	min-width: 0;
	position: relative;
	overflow: hidden;
	background-color: #111827;
}
.br-popup-gallery-slide img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover;
	object-position: center;
	display: block;
	position: absolute;
	inset: 0;
}

/* Image counter — inside the gallery, top-right */
.br-popup-gallery-counter {
	position: absolute;
	bottom: 12px; right: 14px;
	background: rgba(0,0,0,.55);
	color: #fff;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .04em;
	z-index: 2;
}
.br-popup-gallery-counter .br-current { color: #fff; }

/* Empty state */
.br-popup-gallery-empty {
	width: 100%;
	height: 100%;
	min-height: 480px;
	flex: 1;
	display: flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,.85); font-size: 14px;
}

/* Internal slideshow arrows */
.br-popup-gallery-arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	background: rgba(255,255,255,.9);
	border: 0; cursor: pointer;
	width: 38px; height: 38px; border-radius: 50%;
	font-size: 18px; line-height: 1; color: #111827;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 2px 8px rgba(0,0,0,.18);
	transition: background .12s ease;
	z-index: 2;
}
.br-popup-gallery-arrow:hover { background: #fff; }
.br-popup-gallery-arrow.is-prev { left: 12px; }
.br-popup-gallery-arrow.is-prev::before { content: '‹'; font-weight: 700; }
.br-popup-gallery-arrow.is-next { right: 12px; }
.br-popup-gallery-arrow.is-next::before { content: '›'; font-weight: 700; }

/* Dots indicator */
.br-popup-gallery-dots {
	position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
	display: flex; gap: 6px;
	z-index: 2;
}
.br-popup-gallery-dots .br-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: rgba(255,255,255,.45);
	border: 0; padding: 0; cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.br-popup-gallery-dots .br-dot.is-active {
	background: #fff;
	transform: scale(1.3);
}

/* ── Right column: content ──────────────────────── */
.br-popup-content {
	padding: 28px 28px 24px;
	overflow-y: auto;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Review header (avatar + name) */
.br-popup-review-header {
	display: flex; align-items: center; gap: 12px;
}
.br-popup-avatar {
	width: 48px; height: 48px; border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: #e5e7eb;
}
.br-popup-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.br-popup-name { font-size: 16px; color: #111827; flex: 1; }
.br-popup-name-prefix { color: #6b7280; margin-right: 4px; }
.br-popup-inline-verified {
	display: inline-flex; align-items: center; gap: 4px;
	margin-left: 6px;
	padding: 2px 6px;
	background: #ecfdf5; color: #065f46;
	border-radius: 999px; font-size: 11px; font-weight: 500;
}
.br-popup-inline-verified .br-check {
	width: 12px; height: 12px; border-radius: 50%;
	background: #10b981; color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 8px; font-weight: 700;
}

/* Stars inline (this review's stars) */
.br-popup-rating {
	display: flex; align-items: center; gap: 6px;
	font-size: 13px; color: #6b7280;
}
.br-popup-rating .br-stars { font-size: 16px; }
.br-popup-rating .br-stars .br-star { font-size: 16px; }

/* Title + body */
.br-popup-title {
	margin: 0; font-size: 18px; font-weight: 700; color: #111827; line-height: 1.3;
}
.br-popup-body {
	font-size: 13px; line-height: 1.6; color: #374151;
	margin: 0; white-space: pre-wrap;
}

/* Meta line */
.br-popup-meta {
	display: flex; align-items: center; gap: 8px;
	font-size: 12px; color: #6b7280;
	flex-wrap: wrap;
}
.br-meta-dot { color: #d1d5db; }
.br-popup-verified {
	display: inline-flex; align-items: center; gap: 5px;
	color: #111827; font-weight: 500;
}
.br-popup-verified .br-check {
	width: 16px; height: 16px; border-radius: 50%;
	background: #10b981; color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 700;
	flex-shrink: 0;
}

/* Photo grid */
.br-popup-photos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	margin-top: 10px;
}
.br-popup-photo {
	width: 100%; aspect-ratio: 1/1; object-fit: cover;
	border-radius: 6px; cursor: zoom-in; background: #f3f4f6;
}

/* Divider before product card */
.br-popup-divider {
	height: 1px;
	background: linear-gradient(to right, transparent, #e5e7eb, transparent);
	margin: 16px 0;
}

/* ── Product context card (inside popup) ───────── */
.br-popup-product {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 12px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
}
.br-popup-product-img {
	width: 64px; height: 64px; border-radius: 10px;
	background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
	background-size: cover; background-position: center;
	flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	color: #9ca3af; font-size: 22px;
}
.br-popup-product-img.is-img {
	background-size: cover;
}
.br-popup-product-meta {
	flex: 1; min-width: 0;
	display: flex; flex-direction: column; gap: 4px;
}
.br-popup-product-name {
	font-weight: 600; font-size: 14px; color: #111827;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	text-decoration: none;
}
.br-popup-product-name:hover { text-decoration: underline; }
.br-popup-product-summary {
	display: flex; align-items: center; gap: 6px;
	font-size: 12px; color: #6b7280;
}
.br-popup-product-summary .br-stars {
	display: inline-flex; gap: 1px; font-size: 12px;
}
.br-popup-product-summary .br-star {
	color: #fbbf24; opacity: .35;
}
.br-popup-product-summary .br-star.on { opacity: 1; }
.br-popup-product-summary .br-stars.outline .br-star {
	-webkit-text-stroke: 1px #f59e0b;
	color: transparent;
}
.br-popup-product-summary .br-stars.outline .br-star.on { color: #f59e0b; }

.br-popup-product-price {
	display: flex; align-items: baseline; gap: 8px;
	font-size: 13px;
}
.br-popup-product-price .br-price-regular {
	text-decoration: line-through; color: #9ca3af;
}
.br-popup-product-price .br-price-sale {
	color: #dc2626; font-weight: 700; font-size: 15px;
}

/*
 * Popup ATC — self-contained compact control.
 * Avoid .kuz-loop-card: site Kuz CSS forces 38px×3 cols + 54px height and
 * clips the “+” when we shrink the capsule.
 */
.br-popup .br-popup-product-actions.products,
.br-popup-product-actions.products {
	display: block !important;
	grid-template-columns: unset !important;
	gap: 0 !important;
	width: auto !important;
	max-width: 228px !important;
	margin: 8px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	--theme-button-shadow: none;
	--theme-button-transform: none;
	--color-base: #1D1D1E;
}
.br-popup .br-popup-product-actions.products > .product,
.br-popup-product-actions.products > .product {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	overflow: visible !important;
	float: none !important;
	display: block !important;
}

.br-popup .br-popup-product-actions .ct-woo-card-actions,
.br-popup-product-actions .ct-woo-card-actions {
	position: relative !important;
	z-index: 10 !important;
	display: grid !important;
	grid-template-columns: 108px minmax(100px, 1fr) !important;
	align-items: stretch !important;
	gap: 0 !important;
	width: 100% !important;
	min-width: 208px !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	isolation: isolate;
	border: 0 !important;
	border-radius: 18px !important;
	overflow: hidden !important;
	background-color: var(--color-base, #1D1D1E) !important;
	box-shadow: none !important;
}
.br-popup .br-popup-product-actions.is-full .ct-woo-card-actions,
.br-popup .br-popup-product-actions .product.is-full-action .ct-woo-card-actions,
.br-popup-product-actions.is-full .ct-woo-card-actions,
.br-popup-product-actions .product.is-full-action .ct-woo-card-actions {
	grid-template-columns: 1fr !important;
	min-width: 0 !important;
}

/* Fixed 36|36|36 — never percentage-collapse the “+” */
.br-popup .br-popup-product-actions .loop-quantity,
.br-popup-product-actions .loop-quantity {
	position: relative !important;
	z-index: 30 !important;
	display: grid !important;
	grid-template-columns: 36px 36px 36px !important;
	grid-template-rows: 36px !important;
	grid-column: 1 !important;
	width: 108px !important;
	min-width: 108px !important;
	max-width: 108px !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #fff !important;
	pointer-events: auto !important;
	flex: 0 0 108px !important;
	box-sizing: border-box !important;
}
.br-popup .br-popup-product-actions .loop-quantity .loop-qty-button,
.br-popup .br-popup-product-actions .loop-quantity .loop-qty-input,
.br-popup-product-actions .loop-quantity .loop-qty-button,
.br-popup-product-actions .loop-quantity .loop-qty-input {
	position: relative !important;
	z-index: 31 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 36px !important;
	min-width: 36px !important;
	max-width: 36px !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	color: #fff !important;
	box-shadow: none !important;
	pointer-events: auto !important;
	box-sizing: border-box !important;
	flex: 0 0 36px !important;
	opacity: 1 !important;
	visibility: visible !important;
	font-size: 15px !important;
	line-height: 1 !important;
	text-align: center !important;
}
.br-popup .br-popup-product-actions .loop-quantity .loop-qty-button,
.br-popup-product-actions .loop-quantity .loop-qty-button {
	cursor: pointer !important;
	touch-action: manipulation;
}
.br-popup .br-popup-product-actions .loop-quantity .loop-qty-plus,
.br-popup-product-actions .loop-quantity .loop-qty-plus {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 36px !important;
	min-width: 36px !important;
}
.br-popup .br-popup-product-actions .loop-quantity .loop-qty-button:hover,
.br-popup-product-actions .loop-quantity .loop-qty-button:hover {
	background: rgba(255, 255, 255, 0.12) !important;
}
.br-popup .br-popup-product-actions .loop-quantity .loop-qty-input,
.br-popup-product-actions .loop-quantity .loop-qty-input {
	cursor: text !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	appearance: textfield !important;
	-moz-appearance: textfield !important;
}
.br-popup .br-popup-product-actions .loop-quantity .loop-qty-input::-webkit-inner-spin-button,
.br-popup .br-popup-product-actions .loop-quantity .loop-qty-input::-webkit-outer-spin-button,
.br-popup-product-actions .loop-quantity .loop-qty-input::-webkit-inner-spin-button,
.br-popup-product-actions .loop-quantity .loop-qty-input::-webkit-outer-spin-button {
	margin: 0 !important;
	-webkit-appearance: none !important;
}

.br-popup .br-popup-product-actions .ct-woo-card-actions > .add_to_cart_button,
.br-popup .br-popup-product-actions .ct-woo-card-actions > .br-popup-product-cart,
.br-popup-product-actions .ct-woo-card-actions > .add_to_cart_button,
.br-popup-product-actions .ct-woo-card-actions > .br-popup-product-cart {
	position: relative !important;
	z-index: 9 !important;
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	grid-column: 2 !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 100px !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	flex: 1 1 auto !important;
	border: 0 !important;
	border-left: 1px solid rgba(255, 255, 255, 0.35) !important;
	border-radius: 0 18px 18px 0 !important;
	background: transparent !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	line-height: 1 !important;
	text-align: center !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	color: #fff !important;
	pointer-events: auto !important;
	overflow: hidden !important;
	transform: none !important;
	clip-path: none !important;
	box-shadow: none !important;
}

/* Never allow shop skew into compact popup ATC */
.br-popup .br-popup-product-actions .ct-woo-card-actions .button::before,
.br-popup .br-popup-product-actions .ct-woo-card-actions .button::after,
.br-popup-product-actions .ct-woo-card-actions .button::before,
.br-popup-product-actions .ct-woo-card-actions .button::after {
	content: none !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	border: 0 !important;
	background: none !important;
	transform: none !important;
	opacity: 0 !important;
}

.br-popup .br-popup-product-actions .ct-woo-card-actions > .button.disabled,
.br-popup .br-popup-product-actions .ct-woo-card-actions > .button.product_type_variable,
.br-popup .br-popup-product-actions.is-full .ct-woo-card-actions > .br-popup-product-cart,
.br-popup-product-actions .ct-woo-card-actions > .button.disabled,
.br-popup-product-actions .ct-woo-card-actions > .button.product_type_variable,
.br-popup-product-actions.is-full .ct-woo-card-actions > .br-popup-product-cart {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	min-width: 0 !important;
	height: 36px !important;
	min-height: 36px !important;
	padding: 0 12px !important;
	border-left: 0 !important;
	border-radius: 18px !important;
	font-size: 12px !important;
}
.br-popup-product-cart.disabled,
.br-popup-product-cart[aria-disabled="true"] {
	opacity: .7;
	pointer-events: none !important;
	cursor: not-allowed;
}

@media (max-width: 1024px) {
	.br-popup .br-popup-product-actions.products,
	.br-popup-product-actions.products {
		max-width: 200px !important;
	}
	.br-popup .br-popup-product-actions .ct-woo-card-actions,
	.br-popup-product-actions .ct-woo-card-actions {
		grid-template-columns: 96px minmax(84px, 1fr) !important;
		min-width: 180px !important;
		height: 34px !important;
		min-height: 34px !important;
		max-height: 34px !important;
		border-radius: 17px !important;
	}
	.br-popup .br-popup-product-actions .loop-quantity,
	.br-popup-product-actions .loop-quantity {
		width: 96px !important;
		min-width: 96px !important;
		max-width: 96px !important;
		height: 34px !important;
		min-height: 34px !important;
		max-height: 34px !important;
		grid-template-columns: 32px 32px 32px !important;
		grid-template-rows: 34px !important;
		flex-basis: 96px !important;
	}
	.br-popup .br-popup-product-actions .loop-quantity .loop-qty-button,
	.br-popup .br-popup-product-actions .loop-quantity .loop-qty-input,
	.br-popup-product-actions .loop-quantity .loop-qty-button,
	.br-popup-product-actions .loop-quantity .loop-qty-input {
		width: 32px !important;
		min-width: 32px !important;
		max-width: 32px !important;
		height: 34px !important;
		min-height: 34px !important;
		max-height: 34px !important;
		flex-basis: 32px !important;
		font-size: 14px !important;
	}
	.br-popup .br-popup-product-actions .ct-woo-card-actions > .add_to_cart_button,
	.br-popup .br-popup-product-actions .ct-woo-card-actions > .br-popup-product-cart,
	.br-popup-product-actions .ct-woo-card-actions > .add_to_cart_button,
	.br-popup-product-actions .ct-woo-card-actions > .br-popup-product-cart {
		height: 34px !important;
		min-height: 34px !important;
		max-height: 34px !important;
		min-width: 84px !important;
		padding: 0 8px !important;
		border-radius: 0 17px 17px 0 !important;
		font-size: 11px !important;
	}
	.br-popup-product-actions .ct-woo-card-actions > .add_to_cart_button.kuz-add-loading,
	.br-popup-product-actions .ct-woo-card-actions > .br-popup-product-cart.is-loading {
		color: transparent !important;
		cursor: wait !important;
		pointer-events: none !important;
	}
	.br-popup-product-actions .ct-woo-card-actions > .add_to_cart_button.kuz-add-loading::after,
	.br-popup-product-actions .ct-woo-card-actions > .br-popup-product-cart.is-loading::after {
		position: absolute !important;
		top: 50% !important;
		left: 50% !important;
		display: block !important;
		width: 12px !important;
		height: 12px !important;
		margin: -6px 0 0 -6px !important;
		border: 2px solid rgba(255, 255, 255, 0.35) !important;
		border-top-color: #fff !important;
		border-radius: 50% !important;
		content: "" !important;
		animation: br-cart-spin 0.7s linear infinite !important;
		box-sizing: border-box !important;
		pointer-events: none !important;
		opacity: 1 !important;
		background: none !important;
		transform: none !important;
	}
	@media (prefers-reduced-motion: reduce) {
		.br-popup-product-actions .ct-woo-card-actions > .add_to_cart_button.kuz-add-loading::after,
		.br-popup-product-actions .ct-woo-card-actions > .br-popup-product-cart.is-loading::after {
			animation: none !important;
		}
	}
}
@keyframes br-cart-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Footer (helpful/unhelpful/report) */
.br-popup-footer {
	display: flex; align-items: center;
	gap: 20px;
	font-size: 14px;
	color: #4b5563;
}
.br-popup-footer .br-vote-btn {
	display: inline-flex; align-items: center; gap: 5px;
	background: transparent; border: 0; color: #4b5563;
	cursor: pointer; padding: 4px 6px; border-radius: 6px;
	font-size: 14px; font-family: inherit;
}
.br-popup-footer .br-vote-btn:hover { background: #f3f4f6; }
.br-popup-footer .br-vote-btn.is-up.is-active { color: #10b981; }
.br-popup-footer .br-vote-btn.is-down.is-active { color: #ef4444; }
.br-popup-footer .br-vote-icon-wrap {
	width: 15px; height: 15px;
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.br-popup-footer .br-vote-icon,
.br-popup-footer .br-vote-loader {
	width: 15px; height: 15px; display: block;
}
.br-popup-footer .br-vote-loader { display: none; }
.br-popup-footer .br-vote-btn.is-loading .br-vote-icon { display: none; }
.br-popup-footer .br-vote-btn.is-loading .br-vote-loader {
	display: block;
	animation: br-vote-spin .8s linear infinite;
}
@keyframes br-vote-spin { to { transform: rotate(360deg); } }
.br-popup-footer .br-vote-count { color: #6b7280; font-variant-numeric: tabular-nums; }
.br-popup-footer .br-report {
	margin-left: auto; color: #7c3aed; font-weight: 500;
	cursor: pointer; background: transparent;
	border: 0; font-size: 14px; font-family: inherit;
	padding: 4px 6px; border-radius: 6px;
}
.br-popup-footer .br-report:hover { background: #f3f4f6; }

/* Load more button */
.br-load-more {
	margin: 18px auto 0 auto;
	display: block;
}

/* Stars widget — used in product summary */
.br-stars {
	letter-spacing: 1px; font-size: 14px; color: #f59e0b;
}
.br-stars .br-star { display: inline-block; color: #fbbf24; opacity: .35; }
.br-stars .br-star.on, .br-stars .br-star.is-on { opacity: 1; }
.br-stars.outline .br-star {
	-webkit-text-stroke: 1px #f59e0b; color: transparent;
}
.br-stars.outline .br-star.on,
.br-stars.outline .br-star.is-on { color: #f59e0b; }

/* Lightbox (tap a review photo to expand) */
.br-lightbox {
	position: fixed; inset: 0; background: rgba(0,0,0,.85);
	display: flex; align-items: center; justify-content: center;
	z-index: 1000000;
}
.br-lightbox img {
	max-width: 86vw;
	max-height: 88vh;
	width: auto;
	height: auto;
	border-radius: 8px;
	object-fit: contain;
}
.br-lightbox-close {
	position: absolute; top: 16px; right: 24px; color: #fff;
	background: rgba(255,255,255,.08); border: 0; cursor: pointer;
	font-size: 32px; width: 44px; height: 44px; border-radius: 22px;
	z-index: 2;
}
.br-lightbox-close:hover { background: rgba(255,255,255,.16); }
.br-lightbox-nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 48px; height: 48px; border-radius: 50%;
	background: #fff; border: 0; color: #111827;
	font-size: 22px; line-height: 1;
	box-shadow: 0 4px 12px rgba(0,0,0,.18);
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer; z-index: 2;
}
.br-lightbox-nav:hover { background: #f3f4f6; }
.br-lightbox-nav.is-prev { left: 16px; }
.br-lightbox-nav.is-prev::before { content: '‹'; font-weight: 700; }
.br-lightbox-nav.is-next { right: 16px; }
.br-lightbox-nav.is-next::before { content: '›'; font-weight: 700; }
.br-lightbox-counter {
	position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
	background: rgba(0,0,0,.55); color: #fff;
	padding: 4px 12px; border-radius: 999px;
	font-size: 13px; font-weight: 500; letter-spacing: .04em;
	z-index: 2;
}
body.br-lightbox-open { overflow: hidden; }

/* ── Mobile (<=768px): no left image column ─────── */
@media (max-width: 768px) {
	.br-popup-root { padding: 0; align-items: flex-end; }
	.br-popup-shell { max-width: 100vw; width: 100%; }
	.br-popup-col-left { display: none !important; }
	.br-popup {
		grid-template-columns: 1fr;
		width: 100%;
		max-width: 100vw;
		height: auto;
		max-height: 92vh;
		border-radius: 16px 16px 0 0;
	}
	.br-popup-col-right { max-height: 92vh; }
	.br-popup-content { padding: 20px 16px 28px; max-height: none; }
	.br-popup-nav { display: none; }
	.br-popup-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
