/* Розробка та дизайн: Oleg Dez · dezoleg@gmail.com · https://dez.kiev.ua */
/*
 * Сторінка товару (single-product.html), design/product-v2.html — версія за референсом Eridon.
 * D ≥ 1200: перший екран 7 / 5 (галерея + файли | купівля sticky), якірна навігація 56 px з купівлею,
 * секції через 96 px. M < 768: галерея-стрічка з точками, купівля, файли; пункти навігації — чипи.
 */

/* ---------- Перший екран ---------- */

.neova-product__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--80);
}

.neova-product__hero > * {
	margin-block: 0;
}

@media (min-width: 768px) {
	.neova-product__hero {
		grid-template-areas: "gallery buy" "files buy";
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		column-gap: var(--wp--preset--spacing--70);
		row-gap: var(--wp--preset--spacing--40);
		align-items: start;
	}

	.neova-product__hero > .neova-product-gallery {
		grid-area: gallery;
	}

	.neova-product__hero > .neova-product__buy {
		position: sticky;
		top: var(--wp--preset--spacing--50);
		grid-area: buy;
	}

	.neova-product__hero > .neova-product-files {
		grid-area: files;
	}
}

@media (min-width: 1200px) {
	.neova-product__hero {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		column-gap: var(--wp--preset--spacing--80);
	}
}

.neova-product__buy > * {
	margin-block: 0;
}

.neova-product__title {
	font-size: clamp(26px, calc(17.6px + 2.15vw), var(--wp--preset--font-size--h-1));
}

.neova-product__sub {
	display: block;
	margin-top: var(--wp--preset--spacing--30);
	font-family: var(--wp--preset--font-family--body);
	font-size: clamp(16px, calc(15.25px + .19vw), 19px);
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
}

.neova-product__lead {
	margin-top: var(--wp--preset--spacing--45) !important;
	color: var(--wp--preset--color--body-text);
	font-size: var(--wp--preset--font-size--base);
	line-height: var(--wp--custom--line-height--body);
}

.neova-product__lead p {
	margin: 0;
}

.neova-product__buy > .neova-product-params {
	margin-top: var(--wp--preset--spacing--50);
}

.neova-product__buy > .neova-product-buy {
	margin-top: var(--wp--preset--spacing--60);
}

/* ---------- Галерея ---------- */

.neova-product-gallery__track {
	display: grid;
	grid-auto-columns: 100%;
	grid-auto-flow: column;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	background-color: var(--wp--preset--color--surface);
}

.neova-product-gallery__track::-webkit-scrollbar {
	display: none;
}

.neova-product-gallery__slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 300px;
	margin: 0;
	padding: 6% 10%;
	box-sizing: border-box;
	scroll-snap-align: start;
}

.neova-product-gallery__slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.neova-product-gallery__thumbs {
	display: none;
}

.neova-product-gallery__dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: var(--wp--preset--spacing--30);
}

.neova-product-gallery__dots i {
	width: 18px;
	height: 3px;
	background-color: var(--wp--preset--color--line);
}

.neova-product-gallery__dots i.is-active {
	background-color: var(--wp--preset--color--primary);
}

@media (min-width: 768px) {
	.neova-product-gallery__slide {
		height: 480px;
	}

	.neova-product-gallery__dots {
		display: none;
	}

	.neova-product-gallery__thumbs {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--40);
		margin-top: var(--wp--preset--spacing--40);
	}

	.neova-product-gallery__thumb {
		height: 112px;
		padding: 10% 12%;
		border: 0;
		background-color: var(--wp--preset--color--surface);
		cursor: pointer;
	}

	.neova-product-gallery__thumb img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}

	.neova-product-gallery__thumb.is-active {
		box-shadow: inset 0 0 0 var(--wp--custom--line--accent) var(--wp--preset--color--primary);
	}
}

@media (min-width: 1200px) {
	.neova-product-gallery__slide {
		height: 560px;
	}
}

/* ---------- Параметри й бейджі ---------- */

.neova-product-params__list {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--line-height--small);
}

.neova-product-params__list dt {
	color: var(--wp--preset--color--muted);
}

.neova-product-params__list dd {
	margin: 0;
}

.neova-product-params__badges {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
	margin: var(--wp--preset--spacing--45) 0 0;
	padding: 0;
	list-style: none;
}

.neova-product-params__badge {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	min-height: 32px;
	padding: 0 var(--wp--preset--spacing--30);
	border: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--button);
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--meta);
	font-weight: 500;
}

.neova-product-params__badge svg {
	width: 16px;
	height: 16px;
	flex: none;
}

@media (min-width: 768px) {
	.neova-product-params__list {
		grid-template-columns: 150px minmax(0, 1fr);
		gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
		font-size: var(--wp--preset--font-size--button-m);
	}
}

/* ---------- Файли для завантаження ---------- */

.neova-product-files {
	border: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
}

.neova-product-files__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--45);
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--button-m);
	font-weight: 600;
}

.neova-product-files__head span {
	color: var(--wp--preset--color--mint);
	font-size: var(--wp--preset--font-size--meta);
	font-weight: 400;
}

.neova-product-files__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.neova-product-files__list li + li {
	border-top: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
}

.neova-product-files__item {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	align-items: center;
	gap: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.neova-product-files__item:hover {
	background-color: var(--wp--preset--color--hover);
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.neova-product-files__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	background-color: var(--wp--preset--color--hover);
	color: var(--wp--preset--color--primary);
	font-family: ui-monospace, Menlo, monospace;
	font-size: 10px;
	font-weight: 600;
}

.neova-product-files__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.neova-product-files__title {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.35;
}

.neova-product-files__meta {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--caption);
}

.neova-product-files__icon {
	display: none;
	width: 20px;
	height: 20px;
	color: var(--wp--preset--color--primary);
}

@media (min-width: 768px) {
	.neova-product-files__item {
		grid-template-columns: 36px minmax(0, 1fr) auto;
		gap: var(--wp--preset--spacing--40);
		padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--45);
	}

	.neova-product-files__badge {
		height: 44px;
	}

	.neova-product-files__title {
		font-size: var(--wp--preset--font-size--button-m);
	}

	.neova-product-files__meta {
		font-size: var(--wp--preset--font-size--meta);
	}

	.neova-product-files__icon {
		display: block;
	}
}

/* ---------- Якірна навігація ---------- */

.neova-product-anchors {
	position: sticky;
	top: 0;
	z-index: 20;
	border-top: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
	border-bottom: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
	background-color: var(--wp--preset--color--white);
}

.neova-product-anchors__inner {
	display: flex;
	align-items: stretch;
	gap: var(--wp--preset--spacing--60);
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--wp--style--root--padding-left);
}

.neova-product-anchors__list {
	display: flex;
	gap: var(--wp--preset--spacing--20);
	margin: 0;
	padding: var(--wp--preset--spacing--30) 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.neova-product-anchors__list::-webkit-scrollbar {
	display: none;
}

.neova-product-anchors__list a {
	display: flex;
	flex: none;
	align-items: center;
	height: 36px;
	padding: 0 var(--wp--preset--spacing--40);
	border: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--meta);
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
}

.neova-product-anchors__list a.is-active {
	border-color: var(--wp--preset--color--primary);
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

@media (min-width: 1200px) {
	.neova-product-anchors__inner {
		box-sizing: content-box;
		min-height: 56px;
	}

	.neova-product-anchors__list {
		gap: var(--wp--preset--spacing--70);
		padding: 0;
		overflow: visible;
	}

	.neova-product-anchors__list a,
	.neova-product-anchors__list a.is-active {
		height: 100%;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		color: var(--wp--preset--color--primary);
		font-size: var(--wp--preset--font-size--meta);
		letter-spacing: .08em;
		text-transform: uppercase;
	}

	.neova-product-anchors__list a:hover,
	.neova-product-anchors__list a.is-active {
		box-shadow: inset 0 calc(-1 * var(--wp--custom--line--accent)) 0 var(--wp--preset--color--primary);
		text-decoration: none;
	}
}

/* ---------- Секції опису (патерни neova/product-*) ---------- */

.neova-product__content > * {
	margin-block: 0;
}

.neova-product-sec {
	padding-top: var(--wp--preset--spacing--90);
	scroll-margin-top: 64px;
}

.neova-product-sec h2 {
	font-size: clamp(18px, calc(14.9px + .8vw), var(--wp--preset--font-size--h-2));
}

.neova-product-sec__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--70);
	margin-bottom: var(--wp--preset--spacing--60);
}

.neova-product-sec__head > * {
	margin: 0;
}

.neova-product-sec__src,
.neova-product-sec .neova-src {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--meta);
	line-height: var(--wp--custom--line-height--small);
}

@media (min-width: 1200px) {
	.neova-product-sec__src {
		max-width: 460px;
		text-align: right;
	}

	/* Заголовок ліворуч, вміст праворуч: 4 / 8 (Характеристики, Опис, Питання). */
	.neova-product-sec--split > .neova-product-sec__grid {
		display: grid;
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: var(--wp--preset--spacing--80);
		align-items: start;
	}
}

.neova-product-sec__grid > * {
	margin-block: 0;
}

.neova-product-sec__grid > * + * {
	margin-top: var(--wp--preset--spacing--50);
}

@media (min-width: 1200px) {
	.neova-product-sec__grid > * + * {
		margin-top: 0;
	}
}

/* Застосування: таблиця з іконками культур; на мобільному — рядки-картки. */

.neova-rates table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--base);
}

.neova-rates thead {
	border: 0;
}

.neova-rates thead th {
	padding: var(--wp--custom--table--cell-padding) var(--wp--preset--spacing--40);
	border: 0;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--meta);
	font-weight: 600;
	text-align: left;
}

.neova-rates td {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border: 0;
	border-bottom: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
	vertical-align: middle;
}

.neova-rates tbody tr:nth-child(even) td {
	background-color: color-mix(in srgb, var(--wp--preset--color--surface) 50%, var(--wp--preset--color--white));
}

.neova-rates td:first-child {
	font-weight: 600;
}

.neova-rates td:last-child {
	font-weight: 600;
	white-space: nowrap;
}

.neova-rates td:first-child img {
	box-sizing: border-box;
	width: 44px !important;
	height: 44px;
	margin-right: var(--wp--preset--spacing--40);
	padding: 8px;
	border: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--button);
	background-color: var(--wp--preset--color--white);
	vertical-align: middle;
}

@media (max-width: 767px) {
	.neova-rates table,
	.neova-rates tbody,
	.neova-rates tr,
	.neova-rates td {
		display: block;
	}

	.neova-rates thead {
		display: none;
	}

	.neova-rates tbody {
		display: grid;
		gap: var(--wp--preset--spacing--20);
	}

	.neova-rates tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 2px var(--wp--preset--spacing--30);
		padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
		border: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
		font-size: var(--wp--preset--font-size--small);
	}

	.neova-rates td,
	.neova-rates tbody tr:nth-child(even) td {
		padding: 0;
		border: 0;
		background: none;
	}

	.neova-rates tbody tr td:nth-child(2) {
		grid-column: 1 / -1;
		text-align: left;
		grid-row: 2;
		padding-left: 52px;
		color: var(--wp--preset--color--muted);
		font-size: var(--wp--preset--font-size--meta);
		line-height: var(--wp--custom--line-height--tight);
	}

	/* Рядок без іконки культури: примітка без відступу під іконку. */
	.neova-rates tbody tr:not(:has(td:first-child img)) td:nth-child(2) {
		padding-left: 0;
	}

	.neova-rates td:first-child img {
		width: 40px !important;
		height: 40px;
		margin-right: var(--wp--preset--spacing--30);
	}
}

.neova-rates-foot {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--50);
	margin-top: var(--wp--preset--spacing--40) !important;
	color: var(--wp--preset--color--body-text);
	font-size: var(--wp--preset--font-size--small);
}

.neova-rates-foot strong {
	color: var(--wp--preset--color--ink);
}

/* Характеристики: таблиці груп з рядком-заголовком. */

.neova-chars + .neova-chars {
	margin-top: 0 !important;
}

.neova-chars table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
}

.neova-chars thead {
	border: 0;
}

.neova-chars thead th {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border: 0;
	border-top: 3px solid var(--wp--preset--color--line);
	background-color: var(--wp--preset--color--surface);
	font-size: inherit;
	font-weight: 600;
	text-align: left;
}

.neova-chars td {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border: 0;
	border-bottom: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
	line-height: var(--wp--custom--line-height--small);
	vertical-align: middle;
}

.wp-block-table.neova-chars tbody td:first-child {
	width: 42%;
	color: var(--wp--preset--color--muted);
	font-weight: 400;
}

@media (min-width: 768px) {
	.neova-chars table {
		font-size: var(--wp--preset--font-size--button-m);
	}

	.wp-block-table.neova-chars tbody td:first-child {
		width: 36%;
	}
}

/* Опис: два стовпчики тексту + акордеони core/details. */

.neova-product-desc__text {
	color: var(--wp--preset--color--body-text);
	font-size: var(--wp--preset--font-size--button-m);
	line-height: 1.65;
}

.neova-product-desc__text > * {
	margin-block: 0;
}

.neova-product-desc__text > * + * {
	margin-top: var(--wp--preset--spacing--40);
}

@media (min-width: 768px) {
	.neova-product-desc__text {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--70);
		font-size: var(--wp--preset--font-size--base);
	}

	.neova-product-desc__text > * + * {
		margin-top: 0;
	}
}

.neova-product-sec .wp-block-details {
	margin: 0;
	border-top: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
}

.neova-product-sec .wp-block-details:last-child {
	border-bottom: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
}

.neova-product-sec .wp-block-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--45) 0;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--button-m);
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.neova-product-sec .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.neova-product-sec .wp-block-details summary::after {
	content: "";
	flex: none;
	width: 11px;
	height: 11px;
	border-right: var(--wp--custom--line--accent) solid var(--wp--preset--color--primary);
	border-bottom: var(--wp--custom--line--accent) solid var(--wp--preset--color--primary);
	transform: rotate(45deg) translate(-3px, -3px);
}

.neova-product-sec .wp-block-details[open] summary::after {
	transform: rotate(-135deg) translate(-3px, -3px);
}

.neova-product-sec .wp-block-details > :not(summary) {
	margin: 0 0 var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--body-text);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--line-height--body);
}

.neova-product-sec .wp-block-details > :last-child {
	margin-bottom: var(--wp--preset--spacing--50);
}

.neova-product-sec .wp-block-details .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--meta);
}

.neova-product-sec .wp-block-details .wp-block-table thead {
	border: 0;
}

.neova-product-sec .wp-block-details .wp-block-table th {
	padding: 0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--30) 0;
	border: 0;
	border-bottom: var(--wp--custom--line--accent) solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 600;
	text-align: left;
}

.neova-product-sec .wp-block-details .wp-block-table td {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--30) var(--wp--preset--spacing--30) 0;
	border: 0;
	border-bottom: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
}

.neova-product-sec .wp-block-details .wp-block-table td:first-child {
	font-weight: 600;
}

@media (min-width: 768px) {
	.neova-product-sec .wp-block-details summary {
		font-size: var(--wp--preset--font-size--base);
	}

	.neova-product-sec .wp-block-details > :not(summary) {
		font-size: var(--wp--preset--font-size--button-m);
	}

	.neova-product-sec .wp-block-details .wp-block-table table {
		font-size: var(--wp--preset--font-size--small);
	}
}

/* Переваги: список з галочками, факт — курсивом окремим рядком. */

.neova-pros {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: var(--wp--preset--spacing--80);
	margin: 0;
	padding: 0;
	list-style: none;
}

.neova-pros > li {
	position: relative;
	margin: 0;
	padding: var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--40) 34px;
	border-bottom: var(--wp--custom--line--width) solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--body-text);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
}

.neova-pros > li::before {
	content: "";
	position: absolute;
	top: calc(var(--wp--preset--spacing--40) + 1px);
	left: 0;
	width: 22px;
	height: 22px;
	background-color: var(--wp--preset--color--primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.neova-pros strong {
	color: var(--wp--preset--color--ink);
	font-weight: 600;
}

.neova-pros em {
	display: block;
	margin-top: 4px;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--meta);
	font-style: normal;
}

@media (min-width: 768px) {
	.neova-pros {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.neova-pros > li {
		padding-block: var(--wp--preset--spacing--45);
		padding-left: 42px;
		font-size: var(--wp--preset--font-size--base);
	}

	.neova-pros > li::before {
		top: calc(var(--wp--preset--spacing--45) + 2px);
	}

	.neova-pros em {
		font-size: var(--wp--preset--font-size--small);
	}
}

/* Особливості застосування: 4 картки. */

.neova-method {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--40);
}

.neova-method > .wp-block-group {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	margin: 0;
	padding: var(--wp--preset--spacing--45);
	border-top: var(--wp--custom--line--accent) solid var(--wp--preset--color--primary);
	background-color: var(--wp--preset--color--surface);
}

.neova-method > .wp-block-group > * {
	margin: 0;
}

.neova-method__k {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--meta);
}

.neova-method__v {
	font-size: 17px;
	font-weight: 600;
	line-height: var(--wp--custom--line-height--tight);
}

.neova-method__s {
	color: var(--wp--preset--color--body-text);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--line-height--small);
}

@media (min-width: 768px) {
	.neova-method {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.neova-method {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--50);
	}
}

/* Результати досліджень: темна секція, 3 цифри, картка досліду. */

.neova-product-results {
	margin-top: var(--wp--preset--spacing--90);
	scroll-margin-top: 64px;
	padding-block: var(--wp--preset--spacing--90);
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

.neova-product-results h2,
.neova-product-results h3 {
	color: var(--wp--preset--color--white);
}

.neova-product-results a {
	color: var(--wp--preset--color--mint);
	font-weight: 600;
}

.neova-stats {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin-bottom: var(--wp--preset--spacing--60);
}

.neova-stats > .wp-block-group {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	margin: 0;
	padding: var(--wp--preset--spacing--40) 0;
	border-top: var(--wp--custom--line--width) solid var(--wp--preset--color--line-dark);
}

.neova-stats > .wp-block-group > * {
	margin: 0;
}

.neova-stats__n {
	color: var(--wp--preset--color--mint);
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(32px, calc(26.4px + 1.43vw), 48px);
	font-weight: 500;
	line-height: 1;
}

.neova-stats__t {
	font-size: var(--wp--preset--font-size--button-m);
	line-height: 1.45;
}

.neova-stats__s {
	color: var(--wp--preset--color--mint);
	font-size: var(--wp--preset--font-size--meta);
	line-height: var(--wp--custom--line-height--small);
}

@media (min-width: 1200px) {
	.neova-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1px;
		margin-bottom: var(--wp--preset--spacing--80);
		background-color: var(--wp--preset--color--line-dark);
	}

	.neova-stats > .wp-block-group {
		gap: var(--wp--preset--spacing--40);
		padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--60);
		border: 0;
		background-color: var(--wp--preset--color--primary);
	}

	.neova-stats > .wp-block-group:first-child {
		padding-left: 0;
	}

	.neova-stats__t {
		font-size: 17px;
	}

	.neova-stats__s {
		font-size: var(--wp--preset--font-size--small);
	}
}

.neova-trial {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--45);
	border: var(--wp--custom--line--width) solid var(--wp--preset--color--line-dark);
}

.neova-trial > * {
	margin: 0;
}

.neova-trial h3 {
	font-size: var(--wp--preset--font-size--button-m);
	line-height: 1.3;
}

.neova-trial__meta {
	color: var(--wp--preset--color--mint);
	font-size: var(--wp--preset--font-size--meta);
	line-height: var(--wp--custom--line-height--small);
}

.neova-trial ul {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	margin: 0;
	padding: 0;
	list-style: none;
}

.neova-trial li {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: var(--wp--preset--spacing--30);
	padding-top: var(--wp--preset--spacing--30);
	border-top: var(--wp--custom--line--width) solid var(--wp--preset--color--line-dark);
	font-size: var(--wp--preset--font-size--meta);
	line-height: var(--wp--custom--line-height--small);
}

.neova-trial li strong {
	color: var(--wp--preset--color--mint);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--button-m);
	font-weight: 500;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.neova-trial {
		gap: var(--wp--preset--spacing--40);
		padding: var(--wp--preset--spacing--60);
	}

	.neova-trial h3 {
		font-size: var(--wp--preset--font-size--h-3-sm);
	}

	.neova-trial__meta {
		font-size: var(--wp--preset--font-size--small);
	}

	.neova-trial li {
		grid-template-columns: 180px minmax(0, 1fr);
		gap: var(--wp--preset--spacing--40);
		font-size: var(--wp--preset--font-size--button-m);
	}

	.neova-trial li strong {
		font-size: var(--wp--preset--font-size--h-3);
	}
}

/* Питання: «перевірено фахівцями» під заголовком. */

.neova-reviewed {
	position: relative;
	margin-top: var(--wp--preset--spacing--40) !important;
	padding-left: 32px;
	color: var(--wp--preset--color--body-text);
	font-size: var(--wp--preset--font-size--meta);
	line-height: var(--wp--custom--line-height--small);
}

.neova-reviewed::before {
	content: "";
	position: absolute;
	top: 1px;
	left: 0;
	width: 20px;
	height: 20px;
	background-color: var(--wp--preset--color--primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (min-width: 768px) {
	.neova-reviewed {
		font-size: var(--wp--preset--font-size--small);
	}
}

/* ---------- Консультація й інші препарати ---------- */

.neova-product-consult {
	padding-top: var(--wp--preset--spacing--90);
}

.neova-product-consult__box {
	display: grid;
	gap: var(--wp--preset--spacing--45);
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--45);
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

.neova-product-consult__box > * {
	margin: 0;
}

.neova-product-consult__text > * {
	margin: 0;
}

.neova-product-consult__text h2 {
	color: var(--wp--preset--color--white);
	font-size: clamp(17px, calc(14.9px + .55vw), var(--wp--preset--font-size--h-2-post));
	line-height: 1.3;
}

.neova-product-consult__text p {
	max-width: 640px;
	margin-top: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--mint);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--line-height--body);
}

.neova-product-consult .neova-contact--buttons .neova-contact__messenger {
	border-color: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--mint);
}

.neova-product-consult .neova-contact--buttons .neova-contact__messenger:hover {
	background-color: var(--wp--preset--color--line-dark);
	color: var(--wp--preset--color--mint);
}

.neova-product-consult .neova-contact--buttons .neova-contact__call,
.neova-product-consult .neova-contact--buttons .neova-contact__call:hover {
	background-color: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--ink);
}

@media (min-width: 1200px) {
	.neova-product-consult__box {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: var(--wp--preset--spacing--70);
		padding: var(--wp--preset--spacing--75) 56px;
	}

	.neova-product-consult__text p {
		margin-top: var(--wp--preset--spacing--30);
		font-size: var(--wp--preset--font-size--base);
	}
}

.neova-product__others > h2 {
	margin-bottom: var(--wp--preset--spacing--60);
	font-size: clamp(18px, calc(14.9px + .8vw), var(--wp--preset--font-size--h-2));
}
