/* Gongs Reviews — Product Reviews Carousel */

.gr-carousel {
	position: relative;
}

.gr-viewport {
	overflow: hidden;
}

.gr-track {
	display: flex;
	align-items: stretch;
	transition: transform 0.6s ease;
}

.gr-slide {
	flex: 0 0 100%;
	max-width: 100%;
	display: flex;
}

/* Fade effect */
.gr-effect-fade .gr-track {
	display: block;
	position: relative;
	transition: none;
	transform: none !important;
}

.gr-effect-fade .gr-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, visibility 0.6s;
}

.gr-effect-fade .gr-slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
}

/* Slide content */
.gr-slide-inner {
	max-width: 820px;
	width: 100%;
	margin: auto;
	padding: 0 70px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.gr-quote {
	line-height: 0;
	margin-bottom: 26px;
}

.gr-quote svg {
	width: 34px;
	height: auto;
	fill: currentColor;
}

.gr-stars {
	display: flex;
	gap: 6px;
	margin-bottom: 26px;
}

.gr-star svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: rgba(180, 180, 180, 0.5);
}

.gr-star--filled svg {
	fill: #e7b549;
}

.gr-text {
	margin-bottom: 28px;
	line-height: 1.7;
	font-size: 1.15em;
}

.gr-text p {
	margin: 0 0 0.6em;
}

.gr-text p:last-child {
	margin-bottom: 0;
}

.gr-name {
	font-weight: 700;
	font-size: 1.1em;
	margin-bottom: 22px;
}

.gr-product {
	display: flex;
	flex-direction: column;
	align-items: inherit;
	gap: 6px;
}

.gr-product-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a.gr-product-link:hover {
	opacity: 0.8;
}

/* Arrows */
.gr-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 50%;
	background: #faf7f2;
	color: #2e2a1f;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.gr-arrow svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
}

.gr-arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.gr-arrow--prev {
	left: 10px;
}

.gr-arrow--next {
	right: 10px;
}

/* Pagination (one segment per slide, one active at a time) */
.gr-pagination {
	display: flex;
	gap: 0;
	width: min(620px, 100%);
	margin: 36px auto 0;
}

.gr-page {
	position: relative;
	flex: 1;
	height: 2px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.85);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

/* Enlarged invisible hit area so the thin bar stays easy to click/tap */
.gr-page::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -10px;
	bottom: -10px;
}

.gr-page.is-active {
	background: #a99f45;
	cursor: default;
}

/* Editor empty state */
.gr-empty {
	padding: 40px 20px;
	text-align: center;
	border: 1px dashed #bbb;
	border-radius: 4px;
	opacity: 0.75;
}

@media (max-width: 767px) {
	.gr-slide-inner {
		padding: 0 8px;
	}

	.gr-arrow {
		width: 42px;
		height: 42px;
	}
}

/* Per-device arrow visibility (toggled via widget wrapper classes) */
@media (min-width: 768px) and (max-width: 1024px) {
	.gr-hide-arrows-tablet .gr-arrow {
		display: none;
	}
}

@media (max-width: 767px) {
	.gr-hide-arrows-mobile .gr-arrow {
		display: none;
	}
}
