.omh-wc-reviews,
.omh-wc-reviews * {
	box-sizing: border-box;
}

.omh-wc-reviews {
	position: relative;
	width: 100%;
}

.omh-reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.omh-wc-reviews--carousel {
	padding: 0 42px;
}

.omh-reviews-swiper {
	width: 100%;
	overflow: hidden;
}

.omh-reviews-swiper .swiper-wrapper {
	align-items: stretch;
}

.omh-reviews-swiper .swiper-slide {
	height: auto;
	display: flex;
}

.omh-review-card {
	width: 100%;
	min-height: 220px;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e1e7ef;
	border-radius: 4px;
	overflow: hidden;
}

.omh-review-card__top {
	padding: 18px 16px 12px;
	border-bottom: 1px solid #e1e7ef;
}

.omh-review-card__author {
	margin: 0 0 4px;
	color: #1f2933;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
}

.omh-review-stars {
	display: inline-flex;
	align-items: center;
	gap: 1px;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0;
}

.omh-review-star {
	color: #d6dde7;
}

.omh-review-star.is-filled {
	color: #f2a230;
}

.omh-review-star.is-partial {
	position: relative;
	display: inline-block;
	color: #d6dde7;
}

.omh-review-star.is-partial::before {
	content: "★";
	position: absolute;
	top: 0;
	left: 0;
	width: var(--omh-star-fill, 50%);
	overflow: hidden;
	color: #f2a230;
}

.omh-review-card__body {
	padding: 14px 16px 18px;
	flex: 1;
}

.omh-review-card__product {
	margin-bottom: 8px;
	color: #64748b;
	font-size: 13px;
	line-height: 1.4;
}

.omh-review-card__text {
	color: #2d3f55;
	font-size: 15px;
	line-height: 1.55;
}

.omh-review-card__text p {
	margin: 0 0 10px;
}

.omh-review-card__text p:last-child {
	margin-bottom: 0;
}

.omh-reviews-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 34px;
	height: 34px;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	color: #e5e7eb;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: color 0.2s ease, opacity 0.2s ease;
}

.omh-reviews-arrow:hover,
.omh-reviews-arrow:focus {
	color: #9ca3af;
	background: transparent;
	outline: none;
}

.omh-reviews-arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.omh-reviews-prev {
	left: 0;
}

.omh-reviews-next {
	right: 0;
}

.omh-reviews-pagination {
	position: static;
	margin-top: 18px;
	text-align: center;
}

.omh-reviews-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0 4px;
	background: #cbd5e1;
	opacity: 1;
}

.omh-reviews-pagination .swiper-pagination-bullet-active {
	background: #64748b;
}

.omh-wc-reviews-empty {
	padding: 16px;
	border: 1px solid #e1e7ef;
	border-radius: 4px;
	background: #ffffff;
	color: #2d3f55;
}

@media (max-width: 1024px) {
	.omh-reviews-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.omh-reviews-grid {
		grid-template-columns: 1fr;
	}

	.omh-wc-reviews--carousel {
		padding: 0 30px;
	}

	.omh-reviews-arrow {
		font-size: 28px;
		width: 28px;
		height: 28px;
	}
}


.omh-review-count-wrap,
.omh-review-count-wrap * {
	box-sizing: border-box;
}

.omh-review-count {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	width: 100%;
	line-height: 1;
	text-decoration: none;
}

.omh-review-count-link,
.omh-review-count-link:hover,
.omh-review-count-link:focus {
	text-decoration: none;
	box-shadow: none;
	outline: none;
}

.omh-review-count-stars {
	display: inline-flex;
	align-items: center;
	gap: 1px;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
}

.omh-review-count-star {
	color: #d6dde7;
}

.omh-review-count-star.is-filled {
	color: #f2a230;
}

.omh-review-count-star.is-partial {
	position: relative;
	display: inline-block;
	color: #d6dde7;
}

.omh-review-count-star.is-partial::before {
	content: "★";
	position: absolute;
	top: 0;
	left: 0;
	width: var(--omh-star-fill, 50%);
	overflow: hidden;
	color: #f2a230;
}

.omh-review-count-text {
	display: inline-block;
	color: #0f2745;
	font-size: 16px;
	line-height: 1.2;
}
