/* Lascava 074: the reviews block of the product page (template product/lascava_reviews.twig).
   Colours and radii follow the theme: #F7F8FB panels, #EAEDF7 lines, #8F9AA2 muted text, #E9A631 stars, 8px corners. */
.lrv {
	--lrv-panel: #F7F8FB;
	--lrv-line: #EAEDF7;
	--lrv-muted: #8F9AA2;
	--lrv-star: #E9A631;
	--lrv-star-off: #DDE1EA;
	--lrv-ink: #222;
	color: var(--lrv-ink);
}
.lrv [hidden] {
	display: none !important;
}
.lrv-label {
	font-size: 11px;
	line-height: 16px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #000;
}
.lrv-link {
	padding: 0;
	border: 0;
	background: none;
	font-size: 13px;
	line-height: 18px;
	color: #000;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.lrv-link:hover,
.lrv-link:focus {
	color: var(--btn-primary-bg, #ef4f7b);
}

/* stars: a gradient under a five-star mask, --lrv-fill is the filled part */
.lrv-stars {
	display: inline-block;
	flex: none;
	width: 90px;
	height: 16px;
	background: linear-gradient(90deg, var(--lrv-star) var(--lrv-fill, 0%), var(--lrv-star-off) var(--lrv-fill, 0%));
	-webkit-mask: url("../image/r-store/star-y-icon.svg") 0 0 / 18px 16px repeat-x;
	mask: url("../image/r-store/star-y-icon.svg") 0 0 / 18px 16px repeat-x;
}
.lrv-stars-lg {
	width: 100px;
	height: 18px;
	-webkit-mask-size: 20px 18px;
	mask-size: 20px 18px;
}

/* ---------- summary ---------- */
.lrv-summary {
	background: var(--lrv-panel);
	border-radius: 8px;
	padding: 32px 40px;
	margin-bottom: 8px;
}
.lrv-summary-top {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px 96px;
	flex-wrap: wrap;
}
.lrv-score {
	min-width: 190px;
}
.lrv-score-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 8px 0 16px;
}
.lrv-average {
	font-size: 44px;
	line-height: 48px;
	font-weight: 600;
	letter-spacing: -.02em;
	color: #000;
}
.lrv-score-side {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.lrv-count {
	font-size: 13px;
	line-height: 18px;
	color: #555;
}
.lrv-write.chm-btn {
	height: 42px;
	line-height: 42px;
}
.lrv-login {
	font-size: 13px;
	color: #555;
}
.lrv-empty-text {
	margin: 10px 0 16px;
	color: #555;
}
.lrv-summary-empty .lrv-summary-top {
	justify-content: flex-start;
}

.lrv-bars {
	flex: 0 1 380px;
	min-width: 260px;
}
.lrv-bar {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 12px;
	padding: 5px 8px;
	margin: 0 -8px;
	border: 0;
	border-radius: 6px;
	background: none;
	font-size: 12px;
	line-height: 16px;
	color: #555;
	text-align: left;
	cursor: pointer;
	box-sizing: content-box;
	transition: background .15s ease;
}
.lrv-bar:hover,
.lrv-bar:focus-visible,
.lrv-bar.is-active {
	background: #ECEEF5;
	color: #000;
}
.lrv-bar[disabled] {
	cursor: default;
	background: none;
	color: #A9B0BB;
}
.lrv-bar-name {
	flex: 0 0 42px;
	white-space: nowrap;
}
.lrv-bar-line {
	flex: 1 1 auto;
	height: 10px;
	border-radius: 10px;
	background: #E6E9F1;
	overflow: hidden;
}
.lrv-bar-fill {
	display: block;
	height: 100%;
	border-radius: 10px;
}
.lrv-star5 { background: #6AB956; }
.lrv-star4 { background: #B4E681; }
.lrv-star3 { background: #F2D456; }
.lrv-star2 { background: #F6B44F; }
.lrv-star1 { background: #EC7852; }
.lrv-bar-pct {
	flex: 0 0 34px;
	text-align: right;
}

/* ---------- customer images strip ---------- */
.lrv-strip {
	max-width: 760px;
	margin: 32px auto 0;
}
.lrv-strip-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 10px;
}
.lrv-strip-body {
	position: relative;
}
.lrv-strip-track {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.lrv-strip-track::-webkit-scrollbar {
	display: none;
}
.lrv-strip-track .lrv-photo {
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
	scroll-snap-align: start;
}
.lrv-strip-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	padding: 0;
	border: 1px solid var(--lrv-line);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(20, 30, 60, .12);
	cursor: pointer;
}
.lrv-strip-nav::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7px;
	height: 7px;
	border: solid #222;
	border-width: 1.5px 1.5px 0 0;
}
.lrv-strip-prev { left: -16px; }
.lrv-strip-next { right: -16px; }
.lrv-strip-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.lrv-strip-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.lrv-strip-nav:hover {
	border-color: #C9CEDA;
}

/* ---------- a photo thumbnail (strip, review, "view all" grid) ---------- */
.lrv-photo {
	position: relative;
	display: block;
	overflow: hidden;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #E6E9F1;
	cursor: zoom-in;
}
.lrv-photo img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: transform .25s ease;
}
.lrv-photo:hover img,
.lrv-photo:focus-visible img {
	transform: scale(1.05);
}
.lrv-photo:focus-visible,
.lrv-chip:focus-visible,
.lrv-bar:focus-visible,
.lrv-link:focus-visible,
.lrv-strip-nav:focus-visible,
.lrv-upload-add:focus-within {
	outline: 2px solid var(--btn-primary-bg, #ef4f7b);
	outline-offset: 2px;
}
.lrv-photo-more {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 600;
	color: #000;
	background: #E6E9F1;
	cursor: pointer;
}
.lrv-photo-more:hover {
	background: #DDE1EA;
}

/* ---------- toolbar ---------- */
.lrv-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 16px 0 4px;
}
.lrv-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.lrv-chip {
	height: 34px;
	padding: 0 14px;
	border: 1px solid var(--lrv-line);
	border-radius: 17px;
	background: #fff;
	font-size: 13px;
	line-height: 32px;
	color: #222;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.lrv-chip span {
	color: var(--lrv-muted);
}
.lrv-chip i {
	font-style: normal;
	font-size: 16px;
	line-height: 1;
	margin-left: 2px;
}
.lrv-chip:hover {
	border-color: #C9CEDA;
}
.lrv-chip.is-active {
	border-color: #222;
	background: #222;
	color: #fff;
}
.lrv-chip.is-active span {
	color: rgba(255, 255, 255, .7);
}
.lrv-sort {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	color: var(--lrv-muted);
}
.lrv-sort select {
	height: 34px;
	padding: 0 28px 0 12px;
	border: 1px solid var(--lrv-line);
	border-radius: 8px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23222' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
	-webkit-appearance: none;
	appearance: none;
	font-size: 13px;
	color: #222;
	cursor: pointer;
}

/* ---------- list ---------- */
.lrv-list {
	transition: opacity .15s ease;
}
.lrv-list.is-loading {
	opacity: .45;
	pointer-events: none;
}
.lrv-item {
	display: flex;
	gap: 16px 40px;
	padding: 28px 40px;
}
.lrv-item + .lrv-item {
	border-top: 2px dashed var(--lrv-line);
}
.lrv-item-who {
	flex: 0 0 150px;
	min-width: 0;
}
.lrv-author {
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	color: #000;
	overflow-wrap: anywhere;
}
.lrv-date {
	display: block;
	font-size: 12px;
	line-height: 18px;
	color: var(--lrv-muted);
}
.lrv-verified {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font-size: 12px;
	line-height: 16px;
	color: #1A8F47;
}
.lrv-verified svg {
	flex: none;
}
.lrv-item-body {
	flex: 1 1 auto;
	min-width: 0;
}
.lrv-item-body .lrv-stars {
	display: block;
	margin-bottom: 8px;
}
.lrv-text,
.lrv-extra,
.lrv-reply {
	font-size: 14px;
	line-height: 21px;
	overflow-wrap: anywhere;
}
.lrv-extra {
	margin-top: 10px;
}
.lrv-extra-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #000;
}
.lrv-extra-label::before {
	display: inline-block;
	width: 14px;
	font-weight: 700;
}
.lrv-plus::before {
	content: "+";
	color: #1A8F47;
}
.lrv-minus::before {
	content: "−";
	color: #D9534F;
}
.lrv-photos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}
.lrv-photos .lrv-photo {
	width: 72px;
	height: 72px;
}
.lrv-reply {
	margin-top: 16px;
	padding: 16px 20px;
	border-radius: 8px;
	background: var(--lrv-panel);
}
.lrv-reply-label {
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #000;
}
.lrv-none {
	padding: 32px 0;
	text-align: center;
	color: #555;
}
.lrv-none p {
	margin-bottom: 8px;
}
.lrv-more-box {
	padding: 8px 0 4px;
	text-align: center;
}
.lrv-more.chm-btn {
	height: 42px;
	line-height: 40px;
	padding: 0 28px;
	border: 1px solid #222;
	background: #fff;
	color: #222;
}
.lrv-more.chm-btn:hover,
.lrv-more.chm-btn:focus {
	background: #222;
	color: #fff;
}
.lrv-more[disabled] {
	opacity: .6;
	cursor: default;
}

/* ---------- the review form ---------- */
.lrv-form .lrv-form-rating {
	display: flex;
	align-items: center;
	gap: 14px;
}
.lrv-form .lrv-form-rating .control-label {
	margin: 0;
}
.lrv-form .product-rating {
	display: flex;
}
.lrv-form .product-rating .star-rating {
	width: 30px;
	height: 28px;
	margin-right: 0;
}
.lrv-form .product-rating .star-rating::before {
	left: 4px;
	top: 3px;
}
.lrv-counter {
	margin-top: 4px;
	font-size: 12px;
	line-height: 16px;
	color: var(--lrv-muted);
	text-align: right;
}
.lrv-counter.is-ok span {
	color: #1A8F47;
}
.lrv-upload .help-block {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--lrv-muted);
}
.lrv-upload-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}
.lrv-upload-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.lrv-upload-item,
.lrv-upload-add {
	position: relative;
	flex: none;
	width: 72px;
	height: 72px;
	margin: 0;
	border-radius: 8px;
	overflow: hidden;
}
.lrv-upload-item {
	background: #E6E9F1;
}
.lrv-upload-item img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}
.lrv-upload-remove {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .65);
	color: #fff;
	font-size: 16px;
	line-height: 22px;
	text-align: center;
	cursor: pointer;
}
.lrv-upload-add {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px dashed #C9CEDA;
	background: var(--lrv-panel);
	font-size: 26px;
	font-weight: 300;
	color: #555;
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease;
}
.lrv-upload-add:hover,
.lrv-upload.is-drag .lrv-upload-add {
	border-color: var(--btn-primary-bg, #ef4f7b);
	color: var(--btn-primary-bg, #ef4f7b);
}
.lrv-upload.is-full .lrv-upload-add {
	display: none;
}

/* ---------- photo viewer ---------- */
.lrv-lock {
	overflow: hidden !important;
}
.lrv-viewer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	background: rgba(17, 19, 26, .94);
	color: #fff;
	opacity: 0;
	transition: opacity .18s ease;
}
.lrv-viewer.is-open {
	opacity: 1;
}
.lrv-viewer button {
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}
.lrv-viewer-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 320px; /* the white panel with the review */
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 56px;
	padding: 0 12px 0 20px;
	font-size: 13px;
}
.lrv-viewer-back {
	padding: 6px 0 !important;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.lrv-viewer-close {
	position: relative;
	width: 40px;
	height: 40px;
	margin-left: auto;
	border-radius: 50%;
}
.lrv-viewer-close::before,
.lrv-viewer-close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 1.5px;
	background: #fff;
}
.lrv-viewer-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.lrv-viewer-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.lrv-viewer-close:hover,
.lrv-viewer-nav:hover {
	background: rgba(255, 255, 255, .14) !important;
}
.lrv-viewer-stage {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 64px 24px;
}
.lrv-viewer-stage img {
	max-width: 100%;
	max-height: 100%;
	width: auto !important;
	height: auto !important;
	border-radius: 4px;
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
}
.lrv-viewer-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08) !important;
}
.lrv-viewer-nav::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border: solid #fff;
	border-width: 1.5px 1.5px 0 0;
}
.lrv-viewer-prev { left: 10px; }
.lrv-viewer-next { right: 10px; }
.lrv-viewer-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.lrv-viewer-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.lrv-viewer-info {
	flex: 0 0 320px;
	padding: 72px 28px 28px;
	background: #fff;
	color: #222;
	overflow-y: auto;
}
.lrv-viewer-info .lrv-author {
	margin-top: 10px;
}
.lrv-viewer-info .lrv-text {
	margin-top: 12px;
}
.lrv-viewer-count {
	color: rgba(255, 255, 255, .75);
}
/* "view all" grid inside the viewer */
.lrv-viewer-all {
	flex: 1 1 auto;
	padding: 64px 24px 24px;
	overflow-y: auto;
}
.lrv-viewer-all-title {
	max-width: 960px;
	margin: 0 auto 16px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.lrv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
	gap: 10px;
	max-width: 960px;
	margin: 0 auto;
}
.lrv-grid .lrv-photo {
	aspect-ratio: 1;
}
.lrv-viewer.is-all .lrv-viewer-bar {
	right: 0;
}
.lrv-viewer.is-all .lrv-viewer-stage,
.lrv-viewer.is-all .lrv-viewer-info,
.lrv-viewer.is-all .lrv-viewer-back,
.lrv-viewer.is-all .lrv-viewer-count,
.lrv-viewer:not(.is-all) .lrv-viewer-all,
.lrv-viewer:not(.has-all) .lrv-viewer-back {
	display: none;
}

/* ---------- small screens ---------- */
@media (max-width: 991px) {
	.lrv-summary {
		padding: 28px 24px;
	}
	.lrv-summary-top {
		gap: 28px 48px;
	}
	.lrv-item {
		padding: 24px;
	}
}
@media (max-width: 767px) {
	.lrv-summary {
		padding: 24px 16px;
	}
	.lrv-summary-top {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
	}
	.lrv-score {
		text-align: center;
	}
	.lrv-score-row {
		justify-content: center;
	}
	.lrv-score-side {
		text-align: left;
	}
	.lrv-write.chm-btn {
		width: 100%;
	}
	.lrv-bars {
		flex: none;
		min-width: 0;
	}
	.lrv-strip {
		margin-top: 24px;
	}
	.lrv-strip-track {
		margin: 0 -16px;
		padding: 0 16px;
	}
	.lrv-strip-track .lrv-photo {
		flex-basis: 84px;
		width: 84px;
		height: 84px;
	}
	.lrv-strip-nav {
		display: none !important;
	}
	.lrv-toolbar {
		padding-top: 14px;
	}
	.lrv-sort {
		margin-left: auto;
	}
	.lrv-sort span {
		display: none;
	}
	.lrv-item {
		flex-direction: column;
		gap: 10px;
		padding: 20px 0;
	}
	.lrv-item-who {
		flex: none;
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 2px 10px;
	}
	.lrv-verified {
		flex-basis: 100%;
		margin-top: 2px;
	}
	.lrv-more.chm-btn {
		width: 100%;
	}
	.lrv-viewer {
		flex-direction: column;
	}
	.lrv-viewer-bar {
		right: 0;
	}
	.lrv-viewer-stage {
		padding: 56px 0 8px;
	}
	.lrv-viewer-nav {
		display: none;
	}
	.lrv-viewer-info {
		flex: 0 0 auto;
		max-height: 38vh;
		padding: 16px 20px 20px;
	}
	.lrv-viewer-all {
		padding: 60px 12px 16px;
	}
	.lrv-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 6px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.lrv-photo img,
	.lrv-viewer,
	.lrv-list {
		transition: none;
	}
}
