/* BS-S1-W05 - Reviews Showcase / BS-C07 Review Card. */
.beadso-widget--reviews-showcase {
	--beadso-reviews-heading: #2d2d2d;
	--beadso-reviews-card-surface: #fff;
	--beadso-reviews-card-border: #e2e8f0;
	--beadso-reviews-track-gap: 20px;
	--beadso-button-outline-color: #4a263d;
	position: relative;
	width: min(1360px, calc(100% - 80px));
	height: 445px;
	margin-right: 0;
	margin-left: auto;
	overflow: hidden;
	font-family: var(--beadso-font-primary, "Poppins", system-ui, sans-serif);
}

.beadso-reviews__header {
	position: absolute;
	top: 3px;
	left: 0;
	width: 523px;
	height: 114px;
}

.beadso-reviews__title {
	width: 523px;
	height: 48px;
	margin: 0;
	color: var(--beadso-reviews-heading);
	font-size: 30px;
	font-weight: 600;
	line-height: 48px;
	white-space: nowrap;
}

.beadso-reviews__summary {
	display: flex;
	width: 473px;
	height: 56px;
	margin-top: 12px;
	gap: 14px;
	align-items: center;
}

.beadso-reviews__provider {
	display: flex;
	height: 56px;
	align-items: center;
	justify-content: center;
}

.beadso-reviews__provider-logo {
	display: flex;
	width: 56px;
	height: 56px;
	align-items: center;
	justify-content: flex-start;
	padding: 6px 12px 6px 0;
}

.beadso-reviews__provider-logo img {
	display: block;
	width: 44px;
	height: 44px;
	max-width: none;
}

.beadso-reviews__provider-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	color: #6a6a6a;
	font-family: "Plus Jakarta Sans", var(--beadso-font-primary, "Poppins", sans-serif);
}

.beadso-reviews__provider-name,
.beadso-reviews__provider-label {
	margin: 0;
	white-space: nowrap;
}

.beadso-reviews__provider-name {
	width: 88px;
	height: 32px;
	font-size: 24px;
	font-weight: 700;
	line-height: 32px;
}

.beadso-reviews__provider-label {
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

.beadso-widget--reviews-showcase[data-review-source="editorial"] .beadso-reviews__provider {
	width: 165px;
	justify-content: flex-start;
}

.beadso-widget--reviews-showcase[data-review-source="editorial"] .beadso-reviews__provider-copy {
	width: 109px;
	flex: 0 0 109px;
}

.beadso-reviews__score {
	display: flex;
	width: 290px;
	height: 50px;
	gap: 16px;
	align-items: center;
}

.beadso-reviews__score-value {
	display: block;
	flex: 0 0 auto;
	color: #272727;
	font-family: "Plus Jakarta Sans", var(--beadso-font-primary, "Poppins", sans-serif);
	font-size: 40px;
	font-weight: 800;
	line-height: 50px;
	white-space: nowrap;
}

.beadso-widget--reviews-showcase[data-review-source="editorial"] .beadso-reviews__score-value {
	width: 66px;
	flex: 0 0 66px;
}

.beadso-c-rating-summary {
	display: block;
	flex: 0 0 auto;
}

.beadso-c-rating-summary__row {
	display: flex;
	align-items: center;
	justify-content: center;
}

.beadso-c-rating-summary__row--desktop {
	width: 210px;
	height: 42px;
}

.beadso-c-rating-summary__row--mobile {
	display: none;
}

.beadso-c-rating-summary__slot {
	display: block;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
}

.beadso-c-rating-summary__slot img {
	display: block;
	width: 42px;
	height: 42px;
	max-width: none;
}

.beadso-reviews__action {
	position: absolute;
	top: 36px;
	right: 80px;
	width: 198px;
	height: 48px;
}

.beadso-reviews__cta-button {
	width: 198px;
	height: 48px;
}

.beadso-reviews__cta-button .beadso-c-button__label {
	width: 60px;
	flex: 0 0 60px;
}

.beadso-reviews__cta-button .beadso-c-button__icon {
	width: 24px;
	height: 24px;
}

.beadso-reviews__track-viewport {
	position: absolute;
	top: 165px;
	left: 0;
	width: 100%;
	height: 280px;
	overflow: hidden;
}

.beadso-reviews__track {
	display: flex;
	width: max-content;
	height: 280px;
	gap: var(--beadso-reviews-track-gap);
	align-items: flex-start;
}

.beadso-reviews__item {
	width: 352px;
	height: 280px;
	flex: 0 0 352px;
}

.beadso-c-review-card {
	box-sizing: border-box;
	display: flex;
	width: 352px;
	height: 280px;
	flex-direction: column;
	overflow: hidden;
	padding: 24px;
	border: 0.8px solid var(--beadso-reviews-card-border);
	border-radius: 16px;
	background: var(--beadso-reviews-card-surface);
	font-family: var(--beadso-font-primary, "Poppins", system-ui, sans-serif);
}

.beadso-c-review-card__header {
	display: flex;
	width: 302.4px;
	height: 40px;
	flex: 0 0 40px;
	gap: 12px;
	align-items: flex-start;
}

.beadso-c-review-card__avatar {
	display: flex;
	width: 40px;
	height: 40px;
	max-width: none;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 50%;
	object-fit: cover;
}

.beadso-c-review-card__avatar--fallback {
	color: #fff;
	background: #e2e8f0;
	font-size: 16px;
	line-height: 24px;
}

.beadso-c-review-card__identity {
	display: flex;
	width: 250px;
	height: 40px;
	flex-direction: column;
	overflow: hidden;
}

.beadso-c-review-card__author,
.beadso-c-review-card__date,
.beadso-c-review-card__body,
.beadso-c-review-card__location {
	margin: 0;
	font-weight: 400;
}

.beadso-c-review-card__author {
	height: 24px;
	overflow: hidden;
	color: #0f172b;
	font-size: 16px;
	line-height: 24px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.beadso-c-review-card__date {
	height: 16px;
	color: #62748e;
	font-size: 12px;
	line-height: 16px;
	white-space: nowrap;
}

.beadso-c-rating-stars--review {
	display: block;
	width: 96px;
	height: 16px;
	flex: 0 0 16px;
	margin-top: 16px;
}

.beadso-c-rating-stars__row {
	display: flex;
	width: 96px;
	height: 16px;
	gap: 4px;
	align-items: center;
}

.beadso-c-rating-stars__icon {
	display: block;
	width: 16px;
	height: 16px;
	max-width: none;
	flex: 0 0 16px;
}

.beadso-c-rating-stars__icon img {
	display: block;
	width: 16px;
	height: 16px;
	max-width: none;
}

.beadso-c-review-card__copy {
	display: flex;
	width: 302px;
	min-height: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 16px;
	margin-top: 12px;
}

.beadso-c-review-card__body {
	color: #314158;
	font-size: 14px;
	line-height: 22.75px;
}

.beadso-c-review-card__location {
	margin-top: auto;
	color: #62748e;
	font-size: 12px;
	line-height: 16px;
	white-space: nowrap;
}

.beadso-reviews__empty {
	position: absolute;
	top: 190px;
	left: 0;
	margin: 0;
	color: #62748e;
	font-size: 14px;
	line-height: 24px;
}

@media (max-width: 1199.98px) {
	.beadso-widget--reviews-showcase {
		--beadso-reviews-track-gap: 16px;
		width: min(382px, calc(100% - 32px));
		max-width: 382px;
		height: 527px;
		margin-inline: auto;
		overflow: hidden;
	}

	.beadso-reviews__header {
		top: 0;
		width: 337px;
		height: 100px;
	}

	.beadso-reviews__title {
		width: 337px;
		height: 32px;
		font-size: 20px;
		line-height: 32px;
	}

	.beadso-reviews__summary {
		width: auto;
		height: 56px;
		margin-top: 12px;
		gap: 14px;
	}

	.beadso-reviews__provider {
		width: 148px;
	}

	.beadso-widget--reviews-showcase[data-review-source="editorial"] .beadso-reviews__provider-copy {
		width: 96px;
		flex-basis: 96px;
	}

	.beadso-reviews__provider-logo {
		width: 52px;
		padding: 8px 12px 8px 0;
	}

	.beadso-reviews__provider-logo img {
		width: 40px;
		height: 40px;
	}

	.beadso-reviews__provider-name {
		height: 32px;
		font-size: 16px;
		line-height: 32px;
	}

	.beadso-reviews__provider-label {
		font-size: 14px;
		line-height: 24px;
	}

	.beadso-reviews__score {
		width: 175px;
		height: 32px;
		gap: 16px;
	}

	.beadso-reviews__score-value {
		font-family: var(--beadso-font-primary, "Poppins", system-ui, sans-serif);
		font-size: 26px;
		font-weight: 700;
		line-height: 32px;
	}

	.beadso-widget--reviews-showcase[data-review-source="editorial"] .beadso-reviews__score-value {
		width: 39px;
		flex-basis: 39px;
	}

	.beadso-c-rating-summary__row--desktop {
		display: none;
	}

	.beadso-c-rating-summary__row--mobile {
		display: flex;
		width: 120px;
		height: 24px;
	}

	.beadso-c-rating-summary__row--mobile .beadso-c-rating-summary__slot {
		width: 24px;
		height: 24px;
		flex-basis: 24px;
	}

	.beadso-c-rating-summary__row--mobile .beadso-c-rating-summary__slot img {
		width: 24px;
		height: 24px;
	}

	.beadso-reviews__track-viewport {
		top: 132px;
		width: 100%;
		height: 281px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.beadso-reviews__track-viewport::-webkit-scrollbar {
		display: none;
	}

	.beadso-reviews__track {
		width: max-content;
		height: 281px;
	}

	.beadso-reviews__item {
		height: 281px;
	}

	.beadso-c-review-card {
		height: 280px;
	}

	.beadso-reviews__item--mobile-tight .beadso-c-review-card {
		height: 281px;
		padding: 15px;
	}

	.beadso-reviews__item--mobile-tight .beadso-c-review-card__header,
	.beadso-reviews__item--mobile-tight .beadso-c-review-card__copy {
		width: 302.125px;
	}

	.beadso-reviews__item--mobile-tight .beadso-c-review-card__identity {
		width: 250.125px;
	}

	.beadso-reviews__item--mobile-tight .beadso-c-review-card__copy {
		gap: 8px;
		margin-top: 16px;
	}

	.beadso-reviews__item--lead {
		width: 280px;
		flex-basis: 280px;
	}

	.beadso-reviews__item--lead .beadso-c-review-card {
		width: 280px;
	}

	.beadso-reviews__item--lead .beadso-c-review-card__header,
	.beadso-reviews__item--lead .beadso-c-review-card__copy {
		width: 248px;
	}

	.beadso-reviews__item--lead .beadso-c-review-card__body {
		width: 242px;
	}


	.beadso-reviews__action {
		top: 479px;
		right: auto;
		left: 98px;
		width: 182px;
		height: 48px;
	}

	.beadso-reviews__cta-button {
		width: 182px;
		height: 48px;
	}

	.beadso-reviews__empty {
		top: 160px;
	}

	.beadso-widget--reviews-showcase[data-review-source="woo"] .beadso-reviews__provider {
		width: auto;
	}
}

@media (max-width: 575.98px) {
	.beadso-widget--reviews-showcase {
		width: calc(100% - 30px);
		margin-right: 13px;
		margin-left: 17px;
	}
}

/* BS-S1-UAT-D05 - configurable Reviews carousel/navigation. */
.beadso-widget--reviews-showcase {
	overflow: visible;
}

.beadso-reviews__track-viewport {
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.beadso-reviews__track-viewport::-webkit-scrollbar {
	display: none;
}

.beadso-widget--reviews-showcase[data-carousel-swipe="true"] .beadso-reviews__track-viewport {
	cursor: grab;
	touch-action: pan-y;
}

.beadso-widget--reviews-showcase[data-carousel-swipe="false"] .beadso-reviews__track-viewport {
	overflow-x: hidden;
}

.beadso-widget--reviews-showcase.is-dragging .beadso-reviews__track-viewport {
	cursor: grabbing;
	user-select: none;
}

.beadso-widget--reviews-showcase[data-carousel-snap="true"] .beadso-reviews__track-viewport {
	scroll-snap-type: x mandatory;
}

.beadso-widget--reviews-showcase[data-carousel-snap="true"] .beadso-reviews__item {
	scroll-snap-align: start;
}

.beadso-widget--reviews-showcase.is-animating .beadso-reviews__track-viewport,
.beadso-widget--reviews-showcase.is-dragging .beadso-reviews__track-viewport {
	scroll-snap-type: none;
}

.beadso-reviews__nav {
	position: absolute;
	z-index: 4;
	top: 285px;
	display: flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0.8px solid #cad5e2;
	border-radius: 9999px;
	background: #fff;
	box-sizing: border-box;
	cursor: pointer;
}

.beadso-reviews__nav--previous {
	left: -20px;
}

/* BS-FIG-018: product-authorized forward control; intentionally isolated/reversible. */
.beadso-reviews__nav--next {
	right: 0;
}

.beadso-reviews__nav-icon {
	display: block;
	width: 16px;
	height: 16px;
	max-width: none;
}

.beadso-reviews__nav--next .beadso-reviews__nav-icon {
	transform: rotate(180deg);
}

.beadso-reviews__nav:focus-visible {
	outline: 2px solid #4a263d;
	outline-offset: 2px;
}

.beadso-reviews__nav:disabled {
	cursor: default;
	opacity: 0.45;
}

@media (max-width: 1199.98px) {
	.beadso-widget--reviews-showcase {
		overflow: visible;
	}

	.beadso-reviews__nav {
		top: 252px;
	}

	.beadso-reviews__nav--previous {
		left: -20px;
	}

	.beadso-reviews__nav--next {
		right: -20px;
	}
}

@media (max-width: 575.98px) {
	.beadso-reviews__nav--previous {
		left: -17px;
	}

	.beadso-reviews__nav--next {
		right: -13px;
	}
}

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