:root {
	--nf-mp-accent: #4d3bfe;
}

/* Кнопка под «В корзину» */
.nf-mp-cta-wrap {
	flex: 0 0 100%;
	width: 100%;
	margin-top: 16px;
}

.nf-mp-cta,
.nf-mp-cta:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	padding: 9.6px 24px;
	border: 1px solid var(--nf-mp-accent);
	border-radius: 4px;
	background: transparent;
	color: var(--nf-mp-accent);
	font-size: inherit;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .15s, color .15s;
	cursor: pointer;
}

.nf-mp-cta:hover,
.nf-mp-cta:focus-visible {
	background: var(--nf-mp-accent);
	color: #fff;
	text-decoration: none;
}

/* Список в табе */
.nf-mp-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 560px;
	margin: 0 auto;
	scroll-margin-top: 20px;
}

.entry-content .nf-mp-list a.nf-mp-row,
.nf-mp-list a.nf-mp-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 16px;
	border: 1px solid #e6e6e6;
	border-radius: 6px;
	background: #fff;
	color: #111;
	font-size: 16px;
	line-height: 1.3;
	text-decoration: none;
	box-shadow: none;
	transition: border-color .15s, background-color .15s;
}

.entry-content .nf-mp-list a.nf-mp-row:hover,
.nf-mp-list a.nf-mp-row:hover,
.nf-mp-list a.nf-mp-row:focus-visible {
	border-color: var(--nf-mp-accent);
	background: #f7f7ff;
	color: #111;
	text-decoration: none;
}

.nf-mp-row__icon {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	margin: 0 !important;
	border-radius: 6px;
	object-fit: contain;
}

.nf-mp-row__text {
	flex: 1 1 auto;
}

.nf-mp-row__arrow {
	flex: 0 0 auto;
	color: var(--nf-mp-accent);
	font-size: 20px;
	transition: transform .15s;
}

.nf-mp-row:hover .nf-mp-row__arrow {
	transform: translateX(3px);
}

@media (max-width: 767px) {
	/* Форма «В корзину» на всю ширину, чтобы кнопки были одной ширины. */
	.woocommerce-product-form-wrap > form.cart {
		flex: 1 1 100%;
	}

	.nf-mp-cta {
		min-height: 42px;
		display: flex;
		width: 100%;
	}
}
