/* Slider delle recensioni del negozio nella scheda prodotto. Colori del sito: blu #1B4D91. */
.cst-store-reviews {
	clear: both;
	width: 100%;
	margin: 60px 0 20px;
}

.cst-store-reviews__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.cst-store-reviews__title {
	margin: 0;
}

.cst-store-reviews__nav {
	display: flex;
	gap: 8px;
}

.cst-store-reviews__nav[hidden] {
	display: none;
}

.cst-store-reviews__nav button {
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid #1b4d91;
	background: #fff;
	color: #1b4d91;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.cst-store-reviews__nav button:hover:not(:disabled),
.cst-store-reviews__nav button:focus-visible {
	background: #1b4d91;
	color: #fff;
}

.cst-store-reviews__nav button:disabled {
	opacity: 0.35;
	cursor: default;
}

.cst-store-reviews__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 40px) / 3);
	gap: 20px;
	margin: 0;
	padding: 0 0 12px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.cst-store-reviews__track:focus-visible {
	outline: 2px solid #1b4d91;
	outline-offset: 4px;
}

.cst-store-review {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 24px;
	border: 1px solid #e3e3e3;
	border-top: 4px solid #1b4d91;
	background: #fff;
	scroll-snap-align: start;
}

.cst-store-review__stars {
	margin-bottom: 12px;
	color: #f5a623;
	font-size: 18px;
	letter-spacing: 2px;
}

.cst-store-review__stars-empty {
	color: #d6d6d6;
}

.cst-store-review__text {
	flex: 1 1 auto;
	margin: 0 0 16px;
	white-space: pre-line;
}

.cst-store-review__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	align-items: baseline;
	margin: 0;
}

.cst-store-review__meta time {
	font-size: 13px;
	opacity: 0.7;
}

.cst-store-review__source {
	margin: 4px 0 0;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	opacity: 0.6;
}

.cst-store-reviews__cta {
	margin: 20px 0 0;
	text-align: center;
}

@media (max-width: 1024px) {
	.cst-store-reviews__track {
		grid-auto-columns: calc((100% - 20px) / 2);
	}
}

@media (max-width: 600px) {
	.cst-store-reviews {
		margin-top: 40px;
	}

	.cst-store-reviews__track {
		grid-auto-columns: 85%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cst-store-reviews__track {
		scroll-behavior: auto;
	}
}
