.nan-reviews {
	box-sizing: border-box;
	width: 100%;
	font-family: inherit;
}

.nan-reviews *,
.nan-reviews *::before,
.nan-reviews *::after {
	box-sizing: border-box;
}

.nan-reviews__title {
	margin: 0 0 24px;
	text-align: center;
	font-weight: 700;
	line-height: 1.2;
}

.nan-reviews__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 20px;
	margin-bottom: 20px;
}

.nan-reviews__tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 4px;
	border: none;
	background: transparent;
	cursor: pointer;
	font: inherit;
	color: inherit;
	opacity: 0.75;
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s;
}

.nan-reviews__tab:hover,
.nan-reviews__tab:focus,
.nan-reviews__tab:active {
	background: transparent;
	background-color: transparent;
}

.nan-reviews__tab:hover:not(.is-active),
.nan-reviews__tab:focus:not(.is-active),
.nan-reviews__tab:active:not(.is-active) {
	opacity: 0.75;
}

.nan-reviews__tab.is-active,
.nan-reviews__tab.is-active:hover,
.nan-reviews__tab.is-active:focus,
.nan-reviews__tab.is-active:active {
	opacity: 1;
	border-bottom-color: currentColor;
	font-weight: 600;
}

.nan-reviews__tab-icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.nan-reviews__tab-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 50%;
}

.nan-reviews__tab-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.nan-reviews__tab-icon i,
.nan-reviews__tab-icon .e-font-icon-svg {
	width: 100%;
	height: 100%;
	display: block;
}

.nan-reviews__source-icon-toned {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
}

.nan-reviews__source-icon-toned i,
.nan-reviews__source-icon-toned svg {
	color: inherit;
	fill: currentColor;
}

.nan-reviews__card-source-icon i,
.nan-reviews__card-source-icon .e-font-icon-svg {
	width: 1em;
	height: 1em;
	display: block;
}

.nan-reviews__icon-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #ccc;
	color: #333;
	font-size: 11px;
	font-weight: 700;
}

.nan-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
	background: #f5f5f5;
}

.nan-reviews__summary-left {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nan-reviews__summary-label {
	font-size: 14px;
	color: #666;
}

.nan-reviews__summary-rating-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.nan-reviews__summary-score {
	font-size: 36px;
	font-weight: 700;
	line-height: 1;
}

.nan-reviews__summary-count {
	font-size: 14px;
	color: #888;
}

.nan-reviews__summary-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.nan-reviews__cta {
	display: inline-block;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.3;
	white-space: nowrap;
}

.nan-reviews__cta--view-all {
	border: 1px solid currentColor;
	padding: 0.3em 0.65em;
	border-radius: 4px;
}

.nan-reviews__cta:hover,
.nan-reviews__cta:focus,
.nan-reviews__cta:active {
	text-decoration: none;
	opacity: 1;
}

.nan-reviews__carousel-wrap {
	position: relative;
}

.nan-reviews__carousel-viewport {
	overflow: hidden;
	width: 100%;
	/* Room for last-row card borders/shadows (viewport clips overflow). */
	padding-bottom: calc(var(--nan-reviews-row-gap, 0px) + 16px);
}

.nan-reviews__carousel-track {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	row-gap: var(--nan-reviews-row-gap, 0);
	transition: transform 0.35s ease;
	will-change: transform;
}

.nan-reviews__card {
	flex: 0 0 calc(100% / var(--nan-reviews-per-slide, 3) / var(--nan-reviews-page-count, 1));
	min-width: 0;
	padding: 0 8px;
	margin-bottom: 0;
}

.nan-reviews__card-inner {
	height: 100%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nan-reviews__card.is-hidden {
	display: none;
}

.nan-reviews__card-header {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nan-reviews__card-author-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.nan-reviews__card-avatar {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	object-fit: cover;
}

.nan-reviews__card-author-block {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}

.nan-reviews__card-meta-row {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.nan-reviews__card-source-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.nan-reviews__card-source-icon img,
.nan-reviews__card-source-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.nan-reviews__card-author {
	font-weight: 700;
	font-size: 15px;
}

.nan-reviews__verified {
	display: inline-flex;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-top: 2px;
	color: #1877f2;
}

.nan-reviews__verified svg {
	width: 100%;
	height: 100%;
}

.nan-reviews__card-time {
	font-size: 12px;
	color: #999;
}

.nan-reviews__stars {
	display: inline-flex;
	gap: 2px;
	line-height: 1;
}

.nan-reviews__star {
	font-size: 16px;
	line-height: 1;
}

.nan-reviews__star--empty {
	opacity: 0.35;
}

.nan-reviews__card-text {
	font-size: 14px;
	line-height: 1.5;
	color: #444;
	margin: 0;
}

.nan-reviews__read-more {
	display: inline;
	margin-left: 4px;
	padding: 0;
	border: none;
	background: none;
	background-color: transparent;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
}

.nan-reviews__read-more:hover,
.nan-reviews__read-more:focus,
.nan-reviews__read-more:active {
	background: none;
	background-color: transparent;
	text-decoration: none;
}

.nan-reviews__images {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px;
	margin-top: 4px;
}

.nan-reviews__images img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 4px;
}

.nan-reviews__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 20px;
	max-width: 100%;
	width: 100%;
	padding: 0 4px;
	box-sizing: border-box;
}

.nan-reviews__arrow {
	flex-shrink: 0;
	border-radius: 50%;
	border: none;
	background: #e0e0e0;
	color: #333;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
}

.nan-reviews__arrow:hover,
.nan-reviews__arrow:focus,
.nan-reviews__arrow:active {
	color: #333;
}

.nan-reviews__arrow:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.nan-reviews__dots {
	display: flex;
	flex: 0 1 auto;
	gap: 6px;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	padding: 4px 2px;
}

.nan-reviews__dot {
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: #ccc;
	cursor: pointer;
}

.nan-reviews__dot.is-active {
	background: #666;
}

.nan-reviews__placeholder {
	text-align: center;
	padding: 32px;
	color: #888;
}

@media (max-width: 767px) {
	.nan-reviews__carousel-track {
		row-gap: 16px;
	}

	.nan-reviews__card {
		flex: 0 0 calc(100% / var(--nan-reviews-page-count, 1));
		padding: 0 12px 6px;
	}

	.nan-reviews__carousel-viewport {
		padding-bottom: calc(var(--nan-reviews-row-gap, 0px) + 8px);
	}

	.nan-reviews__card-inner {
		margin-bottom: 0;
	}

	.nan-reviews__summary {
		flex-direction: column;
		align-items: flex-start;
	}

	.nan-reviews__summary-score {
		font-size: 28px;
	}

	.nan-reviews__nav {
		gap: 8px;
		padding: 0 8px;
	}

	.nan-reviews__dots {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 100%;
		justify-content: flex-start;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.nan-reviews__dots::-webkit-scrollbar {
		display: none;
	}
}
