/* ============================================================
   Valabi Review Reminder — Reviews Showcase (public trust wall)
   Editorial, paper-warm testimonial wall. Burgundy accent +
   gold stars come from CSS vars the engine injects per the
   admin Appearance settings:
       --vrr-accent  featured/accent ink
       --vrr-star    filled star color
   Everything is scoped under .vrr-sc so it never leaks into
   the host theme.
   ============================================================ */

@font-face {
	font-family: "YekanBakhVRR";
	src: url("../fonts/yekanbakh/YekanBakhFaNum-Regular.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "YekanBakhVRR";
	src: url("../fonts/yekanbakh/YekanBakhFaNum-Medium.woff2") format("woff2");
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: "YekanBakhVRR";
	src: url("../fonts/yekanbakh/YekanBakhFaNum-SemiBold.woff2") format("woff2");
	font-weight: 600;
	font-display: swap;
}
@font-face {
	font-family: "YekanBakhVRR";
	src: url("../fonts/yekanbakh/YekanBakhFaNum-Bold.woff2") format("woff2");
	font-weight: 700;
	font-display: swap;
}

.vrr-sc {
	--vrr-accent: #8b1538;
	--vrr-star: #f0a818;
	--vrr-paper: #fbf7f1;
	--vrr-card: #ffffff;
	--vrr-ink: #2a2222;
	--vrr-mute: #6f6461;
	--vrr-hair: #efe6dd;
	--vrr-shadow: 18px 24px 60px -32px rgba(74, 18, 38, .35);

	box-sizing: border-box;
	font-family: "YekanBakhVRR", "Vazirmatn", "IRANSans", Tahoma, sans-serif;
	color: var(--vrr-ink);
	direction: rtl;
	text-align: right;
	line-height: 1.85;
	position: relative;
	padding: 8px 2px;
}
.vrr-sc *,
.vrr-sc *::before,
.vrr-sc *::after { box-sizing: border-box; }

/* ---- Section header ----------------------------------------------------- */
.vrr-sc__head {
	text-align: center;
	margin: 6px auto 30px;
	max-width: 640px;
}
.vrr-sc__title {
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 700;
	color: var(--vrr-ink);
	margin: 0;
	letter-spacing: -.01em;
	position: relative;
	display: inline-block;
	padding-bottom: 14px;
}
.vrr-sc__title::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 50%;
	transform: translateX(50%);
	width: 54px;
	height: 3px;
	border-radius: 3px;
	background: var(--vrr-accent);
}

/* Carousel header: title at the start, arrows at the end, like a shelf. */
.vrr-sc__head--bar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	max-width: none;
	margin: 0 0 22px;
	text-align: right;
}
.vrr-sc__head--bar .vrr-sc__title { padding-bottom: 0; }
.vrr-sc__head--bar .vrr-sc__title::after { display: none; }
.vrr-sc__navs {
	display: flex;
	gap: 10px;
	margin-inline-start: auto;
}

.vrr-sc__empty {
	text-align: center;
	color: var(--vrr-mute);
	padding: 40px 0;
}

/* ---- Card: photo first, product small ------------------------------------ */
.vrr-sc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--vrr-card);
	border: 1px solid var(--vrr-hair);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 18px 40px -30px rgba(74, 18, 38, .35);
	transition: transform .28s cubic-bezier(.2, .7, .2, 1), box-shadow .28s ease, border-color .28s ease;
	break-inside: avoid;
}
.vrr-sc-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--vrr-shadow);
	border-color: color-mix(in srgb, var(--vrr-accent) 22%, var(--vrr-hair));
}
.vrr-sc-card.is-featured {
	border-color: color-mix(in srgb, var(--vrr-accent) 32%, var(--vrr-hair));
}

/* Big image area: the customer's photo, or the product when there is none. */
.vrr-sc-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	background: #eee6dc;
	overflow: hidden;
}
.vrr-sc-card.no-photo .vrr-sc-card__media { background: #f6efe6; }

.vrr-sc-photo {
	appearance: none;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}
.vrr-sc-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.vrr-sc-card:hover .vrr-sc-photo img { transform: scale(1.03); }
.vrr-sc-photo:focus-visible { outline: 3px solid var(--vrr-accent); outline-offset: -3px; }

.vrr-sc-zoom {
	position: absolute;
	bottom: 30px;
	inset-inline-end: 10px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	background: rgba(20, 14, 14, .45);
}

.vrr-sc-cover {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
.vrr-sc-cover img {
	width: 78%;
	height: 78%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.vrr-sc-chip {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	color: var(--vrr-ink);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.6;
	pointer-events: none;
}
.vrr-sc-chip.is-muted { color: var(--vrr-mute); background: rgba(255, 255, 255, .85); }

.vrr-sc-card__pick {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
	background: var(--vrr-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 11px;
	border-radius: 999px;
	box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--vrr-accent) 60%, transparent);
	pointer-events: none;
}

/* ---- Body --------------------------------------------------------------- */
.vrr-sc-card__body {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-grow: 1;
	padding: 16px 18px 16px;
}
.vrr-sc-card.has-photo .vrr-sc-card__body { padding-top: 0; }

.vrr-sc-prod {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	min-width: 0;
}
/* The product sits as a small tile overlapping the bottom of the photo. It
   needs its own stacking context, or the photo (painted earlier but
   positioned) covers the overlapping half. */
.vrr-sc-prod__tile {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	width: 68px;
	height: 68px;
	margin-top: -34px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--vrr-hair);
	box-shadow: 0 8px 18px -10px rgba(42, 34, 34, .45);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.vrr-sc-prod__tile img {
	width: 60px;
	height: 60px;
	object-fit: contain;
}
.vrr-sc-prod__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.vrr-sc-card.has-photo .vrr-sc-prod__meta { padding-top: 10px; }
.vrr-sc-prod__name {
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--vrr-ink);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.vrr-sc-prod__name:hover { color: var(--vrr-accent); }

/* ---- Stars -------------------------------------------------------------- */
.vrr-sc-stars {
	display: inline-flex;
	gap: 2px;
	line-height: 1;
}
.vrr-sc-star { color: #e6ddd3; display: block; }
.vrr-sc-star.is-on { color: var(--vrr-star); }

.vrr-sc-text {
	margin: 0;
	flex-grow: 1;
	font-size: 14px;
	color: #43393a;
	line-height: 1.9;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.vrr-sc-card.no-photo .vrr-sc-text { -webkit-line-clamp: 4; }

/* ---- Footer ------------------------------------------------------------- */
.vrr-sc-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-top: 10px;
	border-top: 1px dashed var(--vrr-hair);
}
/* Name and badge wrap onto two lines in narrow cards rather than cutting the name. */
.vrr-sc-id {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 6px;
	row-gap: 0;
	min-width: 0;
	line-height: 1.6;
}
.vrr-sc-author {
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.vrr-sc-verified {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 11px;
	color: #1b7f48;
	white-space: nowrap;
}
.vrr-sc-verified svg { flex: 0 0 auto; }
.vrr-sc-cta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	font-size: 13px;
	font-weight: 700;
	color: var(--vrr-accent);
	text-decoration: none;
	white-space: nowrap;
	flex: 0 0 auto;
}
.vrr-sc-cta:hover { color: color-mix(in srgb, var(--vrr-accent) 75%, #000); }
.vrr-sc-cta svg { transition: transform .2s ease; }
.vrr-sc-cta:hover svg { transform: translateX(-3px); }

/* =========================================================================
   LAYOUTS
   ========================================================================= */
.vrr-sc__track { display: block; }

/* --- grid (responsive auto-fill, honoring data-vrr-cols as a max) -------- */
.vrr-sc--grid .vrr-sc__track {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	align-items: stretch;
}
@media (min-width: 920px) {
	.vrr-sc[data-vrr-cols="2"].vrr-sc--grid .vrr-sc__track { grid-template-columns: repeat(2, 1fr); }
	.vrr-sc[data-vrr-cols="3"].vrr-sc--grid .vrr-sc__track { grid-template-columns: repeat(3, 1fr); }
	.vrr-sc[data-vrr-cols="4"].vrr-sc--grid .vrr-sc__track { grid-template-columns: repeat(4, 1fr); }
	.vrr-sc[data-vrr-cols="5"].vrr-sc--grid .vrr-sc__track { grid-template-columns: repeat(5, 1fr); }
}

/* --- masonry: wall (photo pins) + cards (boxed) ---------------------------
   Without JS this is a CSS-columns wall. showcase.js then deals the cards into
   real column boxes, shortest column first, so reading order stays newest
   first and load-more appends to the right place. Cards keep the height their
   photo gives them. */
.vrr-sc--wall,
.vrr-sc--cards { min-width: 0; }
/* One-line product names would otherwise set the wall's minimum width, and
   inside a flex/grid parent (Flatsome rows, the admin preview) the wall then
   grows past its container. The track sizes from its parent only. */
.vrr-sc--wall .vrr-sc__track,
.vrr-sc--cards .vrr-sc__track {
	column-count: 2;
	column-gap: 10px;
	contain: inline-size;
	min-width: 0;
}
@media (min-width: 700px) {
	.vrr-sc--wall .vrr-sc__track,
	.vrr-sc--cards .vrr-sc__track { column-count: 3; column-gap: 18px; }
}
.vrr-sc--wall .vrr-sc-card,
.vrr-sc--cards .vrr-sc-card {
	display: inline-flex;
	width: 100%;
	margin: 0 0 12px;
	vertical-align: top;
}
.vrr-sc__track.is-masonry {
	column-count: auto;
	display: flex;
	align-items: flex-start;
	gap: var(--vrr-gap, 10px);
}
.vrr-sc__col {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: var(--vrr-gap, 10px);
}
.vrr-sc__track.is-masonry .vrr-sc-card { margin: 0; }
@media (min-width: 700px) {
	.vrr-sc--wall, .vrr-sc--cards { --vrr-gap: 18px; }
}
.vrr-sc--wall .vrr-sc-card:hover,
.vrr-sc--cards .vrr-sc-card:hover { transform: none; }

/* Shared bits */
.vrr-open { cursor: pointer; }
.vrr-sc--wall button,
.vrr-sc--cards button { font-family: inherit; color: inherit; }

/* --- wall: photo pins ------------------------------------------------------ */
.vrr-pin {
	flex-direction: column;
	gap: 8px;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}
.vrr-pin:hover { box-shadow: none; }
.vrr-pin__media {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	background: #eee6dc;
}
.vrr-pin__photo {
	appearance: none;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
}
.vrr-pin__photo img {
	display: block;
	width: 100%;
	height: auto;
	min-height: 120px;
	object-fit: cover;
}
.vrr-pin__rate,
.vrr-pin__count {
	position: absolute;
	top: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.7;
	pointer-events: none;
}
.vrr-pin__rate { inset-inline-start: 8px; }
.vrr-pin__rate::first-letter { color: var(--vrr-star); }
.vrr-pin__count { inset-inline-end: 8px; }
.vrr-pin__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .96);
	color: var(--vrr-ink);
	text-decoration: none;
	min-height: 44px;
}
.vrr-pin__media .vrr-pin__bar {
	position: absolute;
	inset: auto 8px 8px 8px;
}
.vrr-pin__thumb {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	object-fit: contain;
	background: #fff;
}
.vrr-pin__name {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.vrr-pin__buy {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--vrr-accent);
	color: #fff;
	display: grid;
	place-items: center;
	transition: filter .2s ease;
}
.vrr-pin__bar:hover .vrr-pin__buy { filter: brightness(1.12); }
.vrr-pin__caption,
.vrr-pin__qbtn {
	appearance: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: 100%;
	margin: 0;
	border: 0;
	background: none;
	text-align: right;
}
.vrr-pin__caption { padding: 0 4px; }
.vrr-pin .vrr-sc-text {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	line-height: 1.8;
	color: #43393a;
}
.vrr-pin__by {
	font-size: 11px;
	color: var(--vrr-mute);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.vrr-pin__by .vrr-sc-author { font-size: inherit; font-weight: 400; }
.vrr-pin__more { color: var(--vrr-accent); font-weight: 700; }
.vrr-pin__quote {
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #f6efe6;
}
.vrr-tint-1 .vrr-pin__quote { background: #f3e9ec; }
.vrr-tint-2 .vrr-pin__quote { background: #eef1ea; }
.vrr-tint-3 .vrr-pin__quote { background: #f1eef6; }
.vrr-pin__qbtn { gap: 8px; padding: 14px 12px 10px; }
.vrr-pin__quote .vrr-sc-text {
	-webkit-line-clamp: 6;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.7;
	color: var(--vrr-ink);
}
.vrr-pin.is-short .vrr-pin__quote .vrr-sc-text { font-size: 17px; }
.vrr-pin__quote .vrr-pin__bar { margin: 0 8px 8px; background: #fff; }
.vrr-pin__quote .vrr-sc-star { width: 12px; height: 12px; }
.vrr-pin__caption:focus-visible,
.vrr-pin__qbtn:focus-visible,
.vrr-pin__photo:focus-visible { outline: 3px solid var(--vrr-accent); outline-offset: -3px; border-radius: 14px; }

/* --- cards: boxed bricks -------------------------------------------------- */
.vrr-brick { flex-direction: column; border-radius: 18px; }
.vrr-brick__media {
	appearance: none;
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: #eee6dc;
}
.vrr-brick__media img { display: block; width: 100%; height: auto; }
.vrr-brick__media.is-product {
	aspect-ratio: 1;
	background: #f6efe6;
	display: flex;
	align-items: center;
	justify-content: center;
}
.vrr-brick__media.is-product img { width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; }
.vrr-brick__cam {
	position: absolute;
	top: 8px;
	inset-inline-start: 8px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--vrr-ink);
	display: grid;
	place-items: center;
}
.vrr-brick__tile {
	position: absolute;
	bottom: 8px;
	inset-inline-start: 8px;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--vrr-hair);
	box-shadow: 0 6px 14px -8px rgba(42, 34, 34, .5);
	display: grid;
	place-items: center;
	overflow: hidden;
}
.vrr-brick__tile img { width: 36px; height: 36px; object-fit: contain; }
.vrr-brick__body { display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.vrr-brick__name {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--vrr-ink);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.vrr-brick__name:hover { color: var(--vrr-accent); }
.vrr-brick .vrr-sc-star { width: 12px; height: 12px; }
.vrr-brick .vrr-sc-text { font-size: 13px; line-height: 1.8; -webkit-line-clamp: 4; flex-grow: 0; }
.vrr-brick__by {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 4px;
	font-size: 11px;
	color: var(--vrr-mute);
}
.vrr-brick__by .vrr-sc-author { font-size: inherit; font-weight: 400; }
.vrr-brick__by .vrr-sc-verified { font-size: inherit; gap: 2px; }
.vrr-brick__actions { display: flex; gap: 6px; margin-top: 2px; }
.vrr-brick__read {
	appearance: none;
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	border: 1px solid #e6dcd2;
	border-radius: 12px;
	background: #fff;
	font-size: 12.5px;
	font-weight: 700;
	transition: border-color .2s ease, color .2s ease;
}
.vrr-brick__read:hover { border-color: var(--vrr-accent); color: var(--vrr-accent); }
.vrr-brick__buy {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--vrr-accent);
	color: #fff;
	display: grid;
	place-items: center;
}
.vrr-brick__buy:hover { color: #fff; filter: brightness(1.12); }

/* --- carousel (horizontal scroll-snap) ----------------------------------- */
.vrr-sc--carousel .vrr-sc__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	padding: 6px 2px 18px;
	scrollbar-width: none;
}
.vrr-sc--carousel .vrr-sc__track::-webkit-scrollbar { display: none; }
.vrr-sc--carousel .vrr-sc-card {
	flex: 0 0 calc((100% - 60px) / 4);
	min-width: 250px;
	scroll-snap-align: start;
}
@media (max-width: 1100px) {
	.vrr-sc--carousel .vrr-sc-card { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 820px) {
	.vrr-sc--carousel .vrr-sc-card { flex-basis: calc((100% - 20px) / 2); }
}

.vrr-sc__nav {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--vrr-hair);
	background: #fff;
	color: var(--vrr-ink);
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
	transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease, transform .12s ease;
}
.vrr-sc__nav:hover:not(:disabled) { background: var(--vrr-accent); border-color: var(--vrr-accent); color: #fff; }
.vrr-sc__nav:active:not(:disabled) { transform: scale(.92); }
.vrr-sc__nav:disabled { opacity: .35; cursor: default; }
.vrr-sc__nav:focus-visible { outline: 3px solid color-mix(in srgb, var(--vrr-accent) 40%, transparent); outline-offset: 2px; }

.vrr-sc__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	min-height: 8px;
	margin-top: 4px;
}
.vrr-sc__dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #e1d6cb;
	transition: width .25s ease, background .25s ease;
}
.vrr-sc__dot.is-on { width: 22px; background: var(--vrr-accent); }

/* ---- Lightbox ----------------------------------------------------------- */
.vrr-lb {
	position: fixed;
	inset: 0;
	z-index: 2147483646; /* above theme chat bubbles (some use 2147483000) */
	display: flex;
	flex-direction: column;
	background: #120d0d;
	color: #fff;
	font-family: "YekanBakhVRR", "Vazirmatn", Tahoma, sans-serif;
	direction: rtl;
	text-align: right;
}
.vrr-lb[hidden] { display: none; }
.vrr-lb *, .vrr-lb *::before, .vrr-lb *::after { box-sizing: border-box; }
.vrr-lb__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px 8px;
	padding-top: max(12px, env(safe-area-inset-top));
}
.vrr-lb__count { font-size: 13px; color: #d8cfcc; }
.vrr-lb__btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
}
.vrr-lb__btn:hover { background: rgba(255, 255, 255, .22); }
.vrr-lb__stage {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	touch-action: pan-y;
}
.vrr-lb__img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
	user-select: none;
}
.vrr-lb__stage .vrr-lb__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
.vrr-lb__prev { right: 12px; }
.vrr-lb__next { left: 12px; }
.vrr-lb__btn[hidden] { display: none; }
.vrr-lb__sheet {
	width: min(560px, calc(100% - 24px));
	margin: 0 auto 16px;
	margin-bottom: max(16px, env(safe-area-inset-bottom));
	padding: 14px;
	border-radius: 20px;
	background: rgba(255, 255, 255, .97);
	color: #2a2222;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.vrr-lb__prod { display: flex; align-items: center; gap: 12px; }
.vrr-lb__prod img {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	border: 1px solid #efe6dd;
	object-fit: contain;
	background: #fff;
	flex: 0 0 auto;
}
.vrr-lb__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.vrr-lb__name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vrr-lb__by { font-size: 12px; color: #6f6461; }
.vrr-lb__text { margin: 0; font-size: 14px; line-height: 1.8; color: #43393a; max-height: 7.2em; overflow: auto; }
.vrr-lb__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 46px;
	border-radius: 14px;
	background: var(--vrr-accent, #8b1538);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.vrr-lb__cta:hover { color: #fff; filter: brightness(1.08); }
html.vrr-lb-open { overflow: hidden; }

/* ---- Review sheet (masonry layouts) -------------------------------------
   A bottom sheet on phones, a centered panel on wider screens. */
.vrr-sheet {
	position: fixed;
	inset: 0;
	z-index: 2147483640;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: rgba(20, 14, 14, .55);
	font-family: "YekanBakhVRR", "Vazirmatn", Tahoma, sans-serif;
	direction: rtl;
	text-align: right;
	color: var(--vrr-ink, #2a2222);
}
.vrr-sheet[hidden] { display: none; }
.vrr-sheet *, .vrr-sheet *::before, .vrr-sheet *::after { box-sizing: border-box; }
.vrr-sheet__panel {
	width: 100%;
	max-height: 92vh;
	max-height: 92dvh;
	background: #fff;
	border-radius: 24px 24px 0 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: vrr-sheet-up .28s cubic-bezier(.2, .7, .2, 1);
}
@keyframes vrr-sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.vrr-sheet__grip { display: flex; justify-content: center; padding-top: 8px; }
.vrr-sheet__grip span { width: 40px; height: 4px; border-radius: 4px; background: #e1d6cb; }
@media (min-width: 700px) {
	.vrr-sheet { align-items: center; padding: 24px; }
	.vrr-sheet__panel { max-width: 520px; max-height: 86vh; border-radius: 24px; }
	.vrr-sheet__grip { display: none; }
}
.vrr-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 12px 6px 16px;
}
.vrr-sheet__title { font-size: 15px; font-weight: 700; }
.vrr-sheet__close {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: #f6f1eb;
	color: inherit;
	cursor: pointer;
	display: grid;
	place-items: center;
}
.vrr-sheet__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 16px 14px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.vrr-sheet__photos {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	flex: 0 0 auto;
}
.vrr-sheet__photos::-webkit-scrollbar { display: none; }
.vrr-sheet__photo {
	appearance: none;
	flex: 0 0 100%;
	height: 300px;
	padding: 0;
	border: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #120d0d;
	scroll-snap-align: center;
	cursor: zoom-in;
}
.vrr-sheet__photos.is-many .vrr-sheet__photo { flex-basis: 86%; }
.vrr-sheet__photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vrr-sheet__who { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vrr-sheet__name { font-size: 14px; font-weight: 700; }
.vrr-sheet__meta { font-size: 12px; color: var(--vrr-mute, #6f6461); }
.vrr-sheet__meta .is-verified { color: #1b7f48; }
.vrr-sheet__stars { display: flex; gap: 2px; }
.vrr-sheet__stars .vrr-sc-star { width: 16px; height: 16px; color: #e6ddd3; }
.vrr-sheet__stars .vrr-sc-star.is-on { color: var(--vrr-star, #f0a818); }
.vrr-sheet__text { margin: 0; font-size: 15px; line-height: 2; white-space: pre-line; }
.vrr-sheet__prod {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 16px;
	border: 1px solid #efe6dd;
	background: #fbf7f1;
	color: inherit;
	text-decoration: none;
}
.vrr-sheet__prod img { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 12px; background: #fff; object-fit: contain; }
.vrr-sheet__prod span { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.6; }
.vrr-sheet__prod small { font-size: 12px; color: var(--vrr-accent, #8b1538); }
.vrr-sheet__foot {
	padding: 12px 16px;
	padding-bottom: max(16px, env(safe-area-inset-bottom));
	border-top: 1px solid #efe6dd;
	background: #fff;
}
.vrr-sheet__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	border-radius: 14px;
	background: var(--vrr-accent, #8b1538);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}
.vrr-sheet__cta:hover { color: #fff; filter: brightness(1.08); }

/* ---- Load-more ---------------------------------------------------------- */
.vrr-sc__more-wrap { text-align: center; margin-top: 28px; }
.vrr-sc__more {
	appearance: none;
	border: 1.5px solid var(--vrr-accent);
	background: transparent;
	color: var(--vrr-accent);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 11px 28px;
	border-radius: 999px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, transform .12s ease;
}
.vrr-sc__more:hover { background: var(--vrr-accent); color: #fff; }
.vrr-sc__more:active { transform: scale(.97); }
.vrr-sc__more[disabled] { opacity: .6; cursor: default; }

/* ---- Staggered entrance ------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.vrr-sc-card {
		animation: vrr-sc-rise .5s both;
	}
	.vrr-sc__track .vrr-sc-card:nth-child(1) { animation-delay: .02s; }
	.vrr-sc__track .vrr-sc-card:nth-child(2) { animation-delay: .07s; }
	.vrr-sc__track .vrr-sc-card:nth-child(3) { animation-delay: .12s; }
	.vrr-sc__track .vrr-sc-card:nth-child(4) { animation-delay: .17s; }
	.vrr-sc__track .vrr-sc-card:nth-child(5) { animation-delay: .22s; }
	.vrr-sc__track .vrr-sc-card:nth-child(6) { animation-delay: .27s; }
	@keyframes vrr-sc-rise {
		from { opacity: 0; transform: translateY(14px); }
		to   { opacity: 1; transform: translateY(0); }
	}
}

/* ---- Phones: one card with the next one peeking, swipe + dots ---------- */
@media (max-width: 600px) {
	.vrr-sc--carousel .vrr-sc__navs { display: none; }
	.vrr-sc--carousel .vrr-sc__track {
		gap: 12px;
		margin-inline: -16px;
		padding-inline: 16px;
		scroll-padding-inline: 16px;
	}
	.vrr-sc--carousel .vrr-sc-card {
		flex-basis: 82%;
		min-width: 0;
	}
	.vrr-sc-card:hover { transform: none; }
	.vrr-sc-card:hover .vrr-sc-photo img { transform: none; }
	.vrr-sc__head--bar { margin-bottom: 16px; }
	.vrr-lb__stage .vrr-lb__btn { display: none; }
}
