/**
 * Страница товара: «Посадика рекомендует» (как на боевом) и заголовок блока в зелёной плашке.
 */
.single-product .pos-hhead { text-align: center; padding: 20px 0 40px; }
.single-product .pos-hhead__title {
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	width: 450px;
	max-width: calc(100% - 140px);
	padding: 2px 0;
	border-radius: 50px;
	background: #4fad10;
	color: #fff;
	font-family: var(--pos-font-body);
	font-weight: 500;
	font-size: 30px;
	line-height: 1.43;
	text-transform: uppercase;
}
.single-product .pos-hhead__title::before,
.single-product .pos-hhead__title::after {
	content: "";
	position: absolute;
	top: -4px;
	width: 58px;
	height: 51px;
	background: url("../images/home/flower.svg") center / 58px no-repeat;
}
.single-product .pos-hhead__title::before { left: -95px; }
.single-product .pos-hhead__title::after { right: -95px; }

.pos-recs { clear: both; grid-column: 1 / -1; width: 100%; min-width: 0; margin-top: 65px; padding-top: 1px; }
.pos-recs__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 10px; }
.pos-recs__viewport::-webkit-scrollbar { display: none; }
.woocommerce .pos-recs__viewport ul.products.pos-recs__track {
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 4 * 14px) / 5);
	margin: 0;
}
.pos-recs__track li.product { scroll-snap-align: start; }
.pos-recs__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	margin: 20px 0 40px;
}
.pos-recs__arrow {
	position: relative;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid #e6e6e6;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
}
.pos-recs__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border: solid #2f2620;
	border-width: 0 2px 2px 0;
}
.pos-recs__arrow--prev::before { transform: translate(-30%, -50%) rotate(135deg); }
.pos-recs__arrow--next::before { transform: translate(-70%, -50%) rotate(-45deg); }
.pos-recs__arrow:hover, .pos-recs__arrow:focus-visible { border-color: #4fad10; background: #fff; }
.pos-recs__all {
	color: #2f2620;
	font-family: var(--pos-font-head);
	font-weight: 700;
	font-size: 18px;
	text-transform: uppercase;
}
.pos-recs__all:hover { color: #4fad10; }

@media (max-width: 1199px) {
	.woocommerce .pos-recs__viewport ul.products.pos-recs__track { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
}
@media (max-width: 991px) {
	.woocommerce .pos-recs__viewport ul.products.pos-recs__track { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
}
@media (max-width: 767px) {
	.single-product .pos-hhead { padding: 10px 0 20px; }
	.single-product .pos-hhead__title { width: auto; max-width: calc(100% - 76px); padding: 4px 14px; font-size: 17px; }
	.single-product .pos-hhead__title::before, .single-product .pos-hhead__title::after { top: 0; width: 28px; height: 28px; background-size: 28px; }
	.single-product .pos-hhead__title::before { left: -36px; }
	.single-product .pos-hhead__title::after { right: -36px; }
	.woocommerce .pos-recs__viewport ul.products.pos-recs__track { grid-auto-columns: calc((100% - 10px) / 2); column-gap: 10px; }
	.pos-recs { margin-top: 30px; }
	.pos-recs__nav { gap: 24px; margin-bottom: 24px; }
}
