/* Reviews Page - Start */

/* Breadcrumbs - Start */
.reviews-page .woocommerce-breadcrumb {
	padding-top: 40px;
	padding-bottom: 35px;
}
@media (max-width: 1680px) {
	.reviews-page .woocommerce-breadcrumb {
		padding-bottom: 34px;
	}
}
@media (max-width: 1279px) {
	.reviews-page .woocommerce-breadcrumb {
		padding-bottom: 18px;
	}
}
/* Breadcrumbs - End */

/* Hero - Start */
section.reviews-hero {
	padding-top: 0;
	padding-bottom: 64px;
}
.reviews-hero .one-column {
	gap: 16px;
}
.reviews-hero h1 {
	margin: 0;
}
.reviews-subtitle {
	font-size: 24px;
	line-height: 29px;
	color: var(--gray-text);
}
.reviews-hero .review-form-call {
	margin-top: 8px;
}
@media (max-width: 1680px) {
	section.reviews-hero {
		padding-bottom: 52px;
	}
	.reviews-subtitle {
		font-size: 16px;
		line-height: 19px;
	}
}
@media (max-width: 1279px) {
	section.reviews-hero {
		padding-bottom: 36px;
	}
	.reviews-subtitle {
		font-size: 14px;
		line-height: 17px;
	}
}
/* Hero - End */

/* Summary - Start */
section.reviews-summary {
	padding-bottom: 120px;
}
.reviews-summary .reviews-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
@media (max-width: 1680px) {
	section.reviews-summary {
		padding-bottom: 96px;
	}
}
@media (max-width: 1279px) {
	section.reviews-summary {
		padding-bottom: 80px;
	}
	.reviews-summary .reviews-stats {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}
/* Summary - End */

/* Reviews List - Start */
section.reviews-list {
	padding-bottom: 120px;
	overflow: visible;
}

section.reviews-list .reviews-grid .review-card {
	width: 100%;
}

section.reviews-list .container,
section.reviews-summary .container {
	padding-left: 32px;
	padding-right: 32px;
}

@media (max-width: 1680px) {
	section.reviews-list .container,
	section.reviews-summary .container {
		padding-left: 28px;
		padding-right: 28px;
	}
}

@media (max-width: 1279px) {
	section.reviews-list .container,
	section.reviews-summary .container {
		padding-left: 20px;
		padding-right: 20px;
	}
}

section.reviews-list .container {
	display: flex;
	flex-direction: column;
	/* Відстань від сітки до кнопки й пагінації задає сам підвал, а не базовий gap контейнера. */
	row-gap: 0;
}

/* Сетка отзывов - Start */
.reviews-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	width: 100%;
	gap: 16px;
}

@media (max-width: 1680px) {
	section.reviews-list {
		padding-bottom: 96px;
	}
}

@media (max-width: 1279px) {
	section.reviews-list {
		padding-bottom: 80px;
	}

	.reviews-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
}
/* Сетка отзывов - End */
/* Reviews List - End */

/* Empty State - Start */
.no-reviews {
	display: none;
	text-align: center;
	padding: 80px 20px;
}

.no-reviews.active {
	display: block;
}

.no-reviews .h3 {
	color: var(--gray);
	margin-bottom: 20px;
}

.no-reviews p {
	font-size: 16px;
	line-height: 24px;
	color: var(--gray);
	margin-bottom: 30px;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.no-reviews .btn {
	margin: 0 auto;
}

@media (max-width: 1279px) {
	.no-reviews {
		padding: 60px 20px;
	}

	.no-reviews .h3 {
		font-size: 24px;
		line-height: 30px;
	}

	.no-reviews p {
		font-size: 14px;
		line-height: 22px;
	}
}
/* Empty State - End */

/* Load More + Pagination - Start */
/* Сторінка відгуків до 25.08.2026 виводила весь список одним полотном — ні пагінації,
   ні «Завантажити ще», на відміну від каталогу й блогу. Додано за рішенням власника.
   Вигляд — той самий, що в category-product.css: той файл підключений тільки на product_cat
   і на цю сторінку не приїздить, тому числа повторені контекстно.
   Розмітку будує js/pages/reviews-page.js за формою paginate_links(type=list).
   display: flex обов'язковий — блоки перемикає jQuery show()/hide(). */
.reviews-page .reviews-foot {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.reviews-page .loadmore-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 30px auto 0 auto;
}

.reviews-page .woocommerce-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 50px 0 0 0;
	margin: 0 auto;
}

.reviews-page .loadmore-wrapper + .woocommerce-pagination {
	padding: 30px 0 0 0;
}

.reviews-page .woocommerce-pagination .page-numbers {
	list-style: none;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 11px;
	margin: 0;
	padding: 0;
}

.reviews-page .woocommerce-pagination .page-numbers li a.page-numbers,
.reviews-page .woocommerce-pagination .page-numbers li .current {
	width: 50px;
	height: 50px;
	padding-top: 4px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-small);
	transition: all 0.3s ease;
}

.reviews-page .woocommerce-pagination .page-numbers li a.page-numbers.prev {
	padding-top: 0;
	transform: rotate(180deg);
}

.reviews-page .woocommerce-pagination .page-numbers li a.page-numbers.next {
	padding-top: 0;
}

.reviews-page .woocommerce-pagination .page-numbers li span.dots {
	padding: 0 15px;
	font-size: 22px;
}

.reviews-page .woocommerce-pagination .page-numbers li .current {
	background: var(--black);
	border: 1px solid var(--black);
	color: var(--white);
}
@media not all and (pointer: coarse) {
	.reviews-page .woocommerce-pagination .page-numbers li a:hover {
		background: var(--black);
		border: 1px solid var(--black);
		color: var(--white);
	}
}

.reviews-page .woocommerce-pagination .page-numbers img {
	width: 8px;
	transition: all 0.3s ease;
}

@media (max-width: 667px) {
	.reviews-page .woocommerce-pagination .page-numbers {
		gap: 7px;
	}

	.reviews-page .woocommerce-pagination .page-numbers li a.page-numbers,
	.reviews-page .woocommerce-pagination .page-numbers li .current {
		width: 40px;
		height: 40px;
		padding-top: 2px;
	}

	.reviews-page .woocommerce-pagination .page-numbers li span.dots {
		padding: 0 10px;
		font-size: 18px;
	}
}
/* Load More + Pagination - End */

/* Reviews Page - End */