/*
 * Single product page — Figma page "PDP", frame 3328:1054.
 * Sizes come from detail screenshots of the 1280px desktop frame (±4px), not from Figma's inspector;
 * see design-reference/FIGMA-SINGLE-PRODUCT.md. Every breakpoint below desktop is proposed.
 */

.mnn-pdp {
	--mnn-pdp-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 19'%3E%3Cpath d='M10 0l2.94 6.26 6.56.9-4.78 4.76 1.16 6.83L10 15.5l-5.88 3.25 1.16-6.83L.5 7.16l6.56-.9z'/%3E%3C/svg%3E");
	--mnn-pdp-gold: #f59e0b;
	--mnn-pdp-green: #005e39;
	--mnn-pdp-pink: #fff0f2;
	padding-bottom: 64px;
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

.mnn-pdp__container {
	box-sizing: border-box;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(16px, 3.75vw, 48px);
}

.mnn-pdp a {
	text-decoration: none;
}

.mnn-pdp a:focus-visible,
.mnn-pdp button:focus-visible,
.mnn-pdp summary:focus-visible,
.mnn-pdp select:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

.mnn-pdp__product {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.mnn-pdp__password {
	padding-block: 48px;
}

/* ---------- Breadcrumb ---------- */

.mnn-pdp-crumbs {
	margin-bottom: 24px;
	border-bottom: 1px solid var(--wp--preset--color--border);
	font-size: 12px;
	line-height: 16px;
}

.mnn-pdp-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin-block: 0;
	padding-block: 10px;
	list-style: none;
}

.mnn-pdp-crumbs li {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-weight: 600;
}

.mnn-pdp-crumbs li + li::before {
	content: "/";
	color: var(--wp--preset--color--muted);
	font-weight: 400;
}

.mnn-pdp-crumbs a {
	color: var(--wp--preset--color--muted);
	font-weight: 400;
}

.mnn-pdp-crumbs a:hover {
	color: var(--wp--preset--color--primary);
}

.mnn-pdp-crumbs__home a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.mnn-pdp-crumbs__home a::before {
	content: "";
	width: 10.67px;
	height: 12px;
	background: url(../../assets/icons/cat-home.svg) center / 100% 100% no-repeat;
}

/* ---------- Notices printed by WooCommerce (add to cart without JavaScript, errors) ---------- */

.mnn-pdp .woocommerce-notices-wrapper:not(:empty) {
	margin-bottom: 24px;
}

/* ---------- Buy area: gallery + summary ---------- */

.mnn-pdp-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: 32px;
}

/* ----- Gallery: WooCommerce's markup and scripts, restyled. */

.mnn-pdp-gallery {
	position: relative;
	min-width: 0;
}

.mnn-pdp div.product.mnn-pdp__product div.images {
	position: relative;
	float: none;
	width: 100%;
	margin: 0;
}

.mnn-pdp div.product.mnn-pdp__product div.images .woocommerce-product-gallery__wrapper {
	margin: 0;
	padding: 0;
}

/* Until the slider starts (or without JavaScript) only the first image shows, so nothing jumps. */
.mnn-pdp div.product.mnn-pdp__product div.images .woocommerce-product-gallery__wrapper:not(.flex-viewport *) > .woocommerce-product-gallery__image:nth-child(n+2) {
	display: none;
}

.mnn-pdp div.product.mnn-pdp__product div.images .flex-viewport,
.mnn-pdp div.product.mnn-pdp__product div.images .woocommerce-product-gallery__wrapper:not(.flex-viewport *) {
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--preset--color--white);
	overflow: hidden;
}

.mnn-pdp div.product.mnn-pdp__product div.images .woocommerce-product-gallery__image {
	position: relative;
	margin: 0;
}

.mnn-pdp div.product.mnn-pdp__product div.images .woocommerce-product-gallery__image > a,
.mnn-pdp div.product.mnn-pdp__product div.images .woocommerce-product-gallery__image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	aspect-ratio: 1;
	padding: 5%;
}

.mnn-pdp div.product.mnn-pdp__product div.images .woocommerce-product-gallery__image img:not(.zoomImg) {
	display: block;
	width: 100%;
	max-height: 100%;
	height: auto;
	object-fit: contain;
}

.mnn-pdp div.product.mnn-pdp__product div.images .woocommerce-product-gallery__trigger {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.mnn-pdp div.product.mnn-pdp__product div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 13px;
	margin: 13px 0 0;
	padding: 0;
	list-style: none;
}

.mnn-pdp div.product.mnn-pdp__product div.images .flex-control-thumbs li {
	float: none;
	width: auto;
	margin: 0;
	list-style: none;
}

.mnn-pdp div.product.mnn-pdp__product div.images .flex-control-thumbs img {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 6px;
	background-color: var(--wp--preset--color--white);
	object-fit: cover;
	opacity: 1;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.mnn-pdp div.product.mnn-pdp__product div.images .flex-control-thumbs img:hover {
	border-color: var(--wp--preset--color--outline);
}

.mnn-pdp div.product.mnn-pdp__product div.images .flex-control-thumbs img.flex-active {
	border: 2px solid var(--wp--preset--color--primary);
}

.mnn-pdp div.product.mnn-pdp__product div.images .flex-control-thumbs img:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

.mnn-pdp-gallery__overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	aspect-ratio: 1;
	pointer-events: none;
}

.mnn-pdp-gallery__badges {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	max-width: calc(100% - 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.mnn-pdp-badge {
	padding: 4px 10px;
	border-radius: 2px;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.mnn-pdp-badge--green {
	background-color: var(--mnn-pdp-green);
}

.mnn-pdp-badge--dark {
	background-color: var(--wp--preset--color--footer);
}

.mnn-pdp-badge--gold {
	background-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--maroon-deep);
}

/* The sale badge is data, not editorial: narrower, so it reads as a tag. */
.mnn-pdp-badge--sale {
	align-self: flex-start;
	background-color: var(--wp--preset--color--primary-dark);
}

.mnn-pdp-gallery__zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	padding: 0 10px;
	border: 0;
	border-radius: var(--wp--custom--radius--xs);
	background-color: rgba(45, 49, 53, 0.85);
	color: var(--wp--preset--color--white);
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	line-height: 16px;
	cursor: zoom-in;
	pointer-events: auto;
}

.mnn-pdp-gallery__zoom[hidden] {
	display: none;
}

.mnn-pdp-gallery__zoom::before {
	content: "";
	width: 12px;
	height: 12px;
	background-color: currentColor;
	-webkit-mask: url(../../assets/icons/search.svg) center / contain no-repeat;
	mask: url(../../assets/icons/search.svg) center / contain no-repeat;
}

.mnn-pdp-gallery__zoom:hover {
	background-color: var(--wp--preset--color--footer-dark);
}

/* ----- Summary column. */

.mnn-pdp-summary {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.mnn-pdp-summary > * {
	margin: 0;
}

.mnn-pdp-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	padding: 0;
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	line-height: 16px;
	list-style: none;
}

.mnn-pdp-meta li + li {
	padding-left: 10px;
	border-left: 1px solid var(--wp--preset--color--border);
}

.mnn-pdp-meta strong {
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
}

.mnn-pdp-meta strong.mnn-pdp-meta__model {
	color: var(--mnn-pdp-green);
}

.mnn-pdp-meta__brand a,
.mnn-pdp-meta__brand a:hover {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 2px;
	background-color: var(--mnn-pdp-pink);
	color: var(--wp--preset--color--primary);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

.mnn-pdp-meta__brand a:hover {
	background-color: #ffe0e4;
}

.mnn-pdp-summary > .mnn-pdp-title {
	margin-top: -4px;
	font-size: 30px;
	font-weight: 800;
	line-height: 37.5px;
	letter-spacing: -0.75px;
	overflow-wrap: anywhere;
}

.mnn-stars {
	position: relative;
	display: inline-block;
	flex: none;
	width: 70px;
	height: 13px;
	background-color: #d5dae0;
	-webkit-mask: var(--mnn-pdp-star) left center / 14px 13px repeat-x;
	mask: var(--mnn-pdp-star) left center / 14px 13px repeat-x;
	vertical-align: middle;
}

.mnn-stars > span {
	display: block;
	height: 100%;
	background-color: var(--mnn-pdp-gold);
}

.mnn-pdp-rating,
.mnn-pdp-rating:hover {
	display: inline-flex;
	flex-wrap: wrap;
	align-self: flex-start;
	align-items: center;
	gap: 4px 10px;
	margin-top: -6px;
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	line-height: 16px;
}

.mnn-pdp-rating strong {
	color: var(--wp--preset--color--contrast);
	font-size: 14px;
	font-weight: 700;
}

.mnn-pdp-rating:hover span {
	text-decoration: underline;
}

.mnn-pdp-price {
	padding: 16px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--sm);
}

.mnn-pdp-price__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
}

.mnn-pdp-price .mnn-pdp-price__amount {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 12px;
	margin: 0;
	color: var(--wp--preset--color--primary);
	font-size: 30px;
	font-weight: 800;
	line-height: 38px;
	letter-spacing: -0.5px;
}

.mnn-pdp-price__amount del {
	order: 2;
	color: var(--wp--preset--color--muted);
	font-size: 15px;
	font-weight: 400;
	line-height: 22px;
	letter-spacing: 0;
}

.mnn-pdp-price__amount ins {
	order: 1;
	background: none;
	text-decoration: none;
}

.mnn-pdp-price .mnn-pdp-price__amount--contact {
	font-size: 22px;
	line-height: 30px;
	letter-spacing: 0;
}

.mnn-pdp-price__saving {
	padding: 3px 8px;
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--mnn-pdp-pink);
	color: var(--wp--preset--color--primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	white-space: nowrap;
}

.mnn-pdp-stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	color: var(--mnn-pdp-green);
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	white-space: nowrap;
}

.mnn-pdp-stock::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: currentColor;
}

.mnn-pdp-stock--out,
.mnn-pdp-stock--backorder {
	color: var(--wp--preset--color--muted);
}

.mnn-pdp-price__note {
	margin: 6px 0 0;
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	line-height: 18px;
}

.mnn-pdp-specs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 9px;
}

.mnn-pdp-spec {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	min-height: 38px;
	padding: 8px 10px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 6px;
	background-color: var(--wp--preset--color--white);
}

.mnn-pdp-spec dt {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	line-height: 16px;
}

.mnn-pdp-spec dd {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	overflow-wrap: anywhere;
}

/* ----- Buy form: WooCommerce's own template for the product type. */

.mnn-pdp .mnn-pdp__product .mnn-pdp-buy form.cart {
	margin: 0;
}

.mnn-pdp-buy--simple form.cart,
.mnn-pdp-buy--external form.cart,
.mnn-pdp-buy .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.mnn-pdp-buy__qty-label {
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
}

.mnn-pdp-buy .quantity {
	display: inline-flex;
	align-items: stretch;
	box-sizing: border-box;
	height: 48px;
	margin: 0;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--wp--preset--color--white);
}

/* A product sold one at a time has a hidden quantity field: no stepper. */
.mnn-pdp-buy .quantity:has(input[type="hidden"]) {
	display: none;
}

.mnn-pdp-buy .quantity .qty {
	width: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--contrast);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.mnn-pdp-buy .quantity .qty::-webkit-outer-spin-button,
.mnn-pdp-buy .quantity .qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.mnn-pdp-buy .quantity .qty:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: -2px;
}

.mnn-pdp-qty__button {
	width: 34px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--contrast);
	font-family: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.mnn-pdp-qty__button:hover {
	color: var(--wp--preset--color--primary);
}

.mnn-pdp div.product .mnn-pdp-buy form.cart button.single_add_to_cart_button,
.mnn-pdp-buy__now {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	height: 48px;
	margin: 0;
	padding: 0 16px;
	border-radius: var(--wp--custom--radius--xs);
	font-family: inherit;
	font-size: 14px;
	line-height: 18px;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mnn-pdp div.product .mnn-pdp-buy form.cart button.single_add_to_cart_button {
	flex: 0 1 auto;
	min-width: 140px;
	border: 2px solid var(--wp--preset--color--primary);
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--primary);
	font-weight: 700;
	float: none;
	opacity: 1;
}

.mnn-pdp div.product .mnn-pdp-buy form.cart button.single_add_to_cart_button::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url(../../assets/icons/cart.svg) center / contain no-repeat;
	mask: url(../../assets/icons/cart.svg) center / contain no-repeat;
}

.mnn-pdp div.product .mnn-pdp-buy form.cart button.single_add_to_cart_button:hover {
	background-color: var(--mnn-pdp-pink);
	color: var(--wp--preset--color--primary);
}

.mnn-pdp div.product .mnn-pdp-buy form.cart button.single_add_to_cart_button.is-loading {
	opacity: 0.75;
	pointer-events: none;
}

.mnn-pdp div.product .mnn-pdp-buy form.cart button.single_add_to_cart_button.is-added {
	border-color: #15803d;
	background-color: #15803d;
	color: var(--wp--preset--color--white);
}

.mnn-pdp div.product .mnn-pdp-buy form.cart button.single_add_to_cart_button.disabled,
.mnn-pdp div.product .mnn-pdp-buy form.cart button.single_add_to_cart_button.disabled ~ .mnn-pdp-buy__now {
	opacity: 0.5;
	cursor: not-allowed;
}

.mnn-pdp-buy__now {
	flex: 1 1 140px;
	border: 0;
	background-color: var(--wp--preset--color--primary);
	box-shadow: 0 4px 6px -1px rgba(168, 0, 19, 0.25);
	color: var(--wp--preset--color--white);
	font-weight: 800;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.mnn-pdp-buy__now:hover {
	background-color: var(--wp--preset--color--primary-dark);
}

.mnn-pdp div.product .mnn-pdp-buy--external form.cart button.single_add_to_cart_button {
	flex: 1;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

.mnn-pdp div.product .mnn-pdp-buy--external form.cart button.single_add_to_cart_button::before {
	display: none;
}

.mnn-pdp-buy__notice {
	margin: 0;
	padding: 12px 16px;
	border: 1px dashed var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--muted);
	font-size: 14px;
	line-height: 20px;
}

/* Variable products: WooCommerce's attribute table and the chosen variation's price / stock. */

.mnn-pdp-buy table.variations {
	width: 100%;
	margin: 0 0 12px;
	border: 0;
	border-collapse: collapse;
}

.mnn-pdp-buy table.variations th,
.mnn-pdp-buy table.variations td {
	padding: 0 0 10px;
	border: 0;
	background: none;
	text-align: left;
	vertical-align: middle;
}

.mnn-pdp-buy table.variations th.label {
	width: 1%;
	padding-right: 12px;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	white-space: nowrap;
}

.mnn-pdp-buy table.variations select {
	box-sizing: border-box;
	width: 100%;
	max-width: 320px;
	height: 44px;
	padding: 0 36px 0 12px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--xs);
	background: var(--wp--preset--color--white) url(../../assets/icons/cat-caret-down.svg) right 14px center / 9px 5.55px no-repeat;
	color: var(--wp--preset--color--contrast);
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.mnn-pdp-buy .reset_variations {
	display: inline-block;
	margin-left: 10px;
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	text-decoration: underline;
}

.mnn-pdp-buy .woocommerce-variation {
	margin-bottom: 12px;
}

.mnn-pdp-buy .woocommerce-variation:empty {
	display: none;
}

.mnn-pdp-buy .woocommerce-variation-price .price {
	color: var(--wp--preset--color--primary);
	font-size: 22px;
	font-weight: 800;
	line-height: 28px;
}

.mnn-pdp-buy .woocommerce-variation-price del {
	margin-right: 8px;
	color: var(--wp--preset--color--muted);
	font-size: 14px;
	font-weight: 400;
}

.mnn-pdp-buy .woocommerce-variation-price ins {
	background: none;
	text-decoration: none;
}

.mnn-pdp-buy .woocommerce-variation-availability p,
.mnn-pdp-buy .woocommerce-variation-description p {
	margin: 4px 0 0;
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	line-height: 18px;
}

.mnn-pdp-buy .woocommerce-variation-availability .out-of-stock {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
}

/* Grouped products: WooCommerce's table of child products. */

.mnn-pdp-buy table.group_table {
	width: 100%;
	margin: 0 0 12px;
	border-collapse: collapse;
	font-size: 14px;
}

.mnn-pdp-buy table.group_table td {
	padding: 8px 8px 8px 0;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	vertical-align: middle;
}

.mnn-pdp-buy--grouped form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.mnn-pdp-buy--grouped table.group_table {
	flex: 1 1 100%;
}

/* ----- Support boxes and commitments (template part "product-support", core blocks). */

.mnn-pdp-support,
.mnn-pdp-support .wp-block-group {
	margin-block: 0;
}

.mnn-pdp-support p {
	margin: 0;
}

.mnn-pdp-support__contacts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

/* A single box (no Zalo address yet) takes the whole row. */
.mnn-pdp-support__contacts > .mnn-pdp-contact:only-child {
	grid-column: 1 / -1;
}

.mnn-pdp-contact {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	min-height: 64px;
	padding: 10px 12px 10px 60px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--preset--color--surface);
}

.mnn-pdp-contact::before,
.mnn-pdp-contact::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 12px;
	width: 36px;
	height: 36px;
	margin-top: -18px;
	border-radius: var(--wp--custom--radius--sm);
}

.mnn-pdp-contact::before {
	background-color: var(--wp--preset--color--primary);
}

.mnn-pdp-contact::after {
	background-color: var(--wp--preset--color--white);
	-webkit-mask: url(../../assets/icons/support-phone.svg) center / 16px 16px no-repeat;
	mask: url(../../assets/icons/support-phone.svg) center / 16px 16px no-repeat;
}

.mnn-pdp-contact--chat::before {
	background-color: #0f9d58;
}

.mnn-pdp-contact--chat::after {
	-webkit-mask-image: url(../../assets/icons/support-chat.svg);
	mask-image: url(../../assets/icons/support-chat.svg);
}

.mnn-pdp-contact__label {
	color: var(--wp--preset--color--muted);
	font-size: 11px;
	line-height: 16px;
}

.mnn-pdp-contact__value {
	font-size: 13px;
	font-weight: 700;
	line-height: 18px;
}

.mnn-pdp-contact__value a {
	color: var(--wp--preset--color--contrast);
}

/* The whole box is the link's hit area. */
.mnn-pdp-contact__value a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.mnn-pdp-contact--phone .mnn-pdp-contact__value {
	font-size: 15px;
	font-weight: 800;
}

.mnn-pdp-contact--phone .mnn-pdp-contact__value a {
	color: var(--wp--preset--color--primary);
}

.mnn-pdp-contact:hover {
	border-color: var(--wp--preset--color--outline);
}

.mnn-pdp-commitments {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 24px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--wp--preset--color--border);
}

.mnn-pdp-commitment {
	position: relative;
	padding-left: 30px;
}

.mnn-pdp-commitment::before {
	content: "";
	position: absolute;
	top: 1px;
	left: 0;
	width: 20px;
	height: 20px;
	background-color: var(--wp--preset--color--primary);
	-webkit-mask: url(../../assets/icons/verified.svg) center / contain no-repeat;
	mask: url(../../assets/icons/verified.svg) center / contain no-repeat;
}

.mnn-pdp-commitment--warranty::before {
	-webkit-mask-image: url(../../assets/icons/info-shield.svg);
	mask-image: url(../../assets/icons/info-shield.svg);
}

.mnn-pdp-commitment--shipping::before {
	-webkit-mask-image: url(../../assets/icons/info-truck.svg);
	mask-image: url(../../assets/icons/info-truck.svg);
}

.mnn-pdp-commitment--returns::before {
	-webkit-mask-image: url(../../assets/icons/info-swap.svg);
	mask-image: url(../../assets/icons/info-swap.svg);
}

.mnn-pdp-commitment__title {
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
}

.mnn-pdp-commitment__text {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	line-height: 16px;
}

/* ---------- Description (8 columns) + accessories (4 columns) ---------- */

.mnn-pdp-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 32px;
}

.mnn-pdp-body.has-aside {
	grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}

.mnn-pdp-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	padding: 40px 32px 32px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background-color: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--sm);
}

.mnn-pdp-content > * {
	margin: 0;
}

.mnn-pdp-content__title {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--wp--preset--color--border);
	font-size: 26px;
	font-weight: 800;
	line-height: 32.5px;
	letter-spacing: -0.65px;
}

.mnn-pdp-content__lead {
	position: relative;
	padding: 20px 20px 20px 62px;
	border-left: 4px solid var(--wp--preset--color--primary);
	border-radius: 0 var(--wp--custom--radius--xs) var(--wp--custom--radius--xs) 0;
	background-color: #fff5f5;
	font-size: 15px;
	font-style: italic;
	line-height: 24.38px;
}

.mnn-pdp-content__lead::before {
	content: "";
	position: absolute;
	top: 24px;
	left: 24px;
	width: 22.48px;
	height: 16.13px;
	background: url(../../assets/icons/cat-quote.svg) center / 100% 100% no-repeat;
}

.mnn-pdp-content__body {
	color: var(--wp--preset--color--muted);
	font-size: 15px;
	line-height: 24.38px;
	overflow-wrap: anywhere;
}

.mnn-pdp-content__body > :first-child {
	margin-top: 0;
}

.mnn-pdp-content__body > :last-child {
	margin-bottom: 0;
}

.mnn-pdp-content__body h2,
.mnn-pdp-content__body h3,
.mnn-pdp-content__body h4 {
	position: relative;
	margin: 24px 0 5px;
	padding-left: 20px;
	color: var(--wp--preset--color--contrast);
	font-size: 18px;
	font-weight: 700;
	line-height: 24.75px;
}

.mnn-pdp-content__body h2::before,
.mnn-pdp-content__body h3::before,
.mnn-pdp-content__body h4::before {
	content: "";
	position: absolute;
	top: 7px;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: var(--wp--preset--color--primary);
}

.mnn-pdp-content__body p,
.mnn-pdp-content__body ul,
.mnn-pdp-content__body ol {
	margin: 0 0 12px;
}

.mnn-pdp-content__body ul,
.mnn-pdp-content__body ol {
	padding-left: 24px;
}

.mnn-pdp-content__body strong {
	color: var(--wp--preset--color--contrast);
}

.mnn-pdp-content__body img,
.mnn-pdp-content__body video,
.mnn-pdp-content__body iframe {
	max-width: 100%;
	height: auto;
	border-radius: var(--wp--custom--radius--sm);
}

.mnn-pdp-content__body table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

.mnn-pdp-content__body a {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

.mnn-pdp-content.is-collapsible .mnn-pdp-content__body {
	position: relative;
	max-height: 300px;
	overflow: hidden;
}

.mnn-pdp-content.is-collapsible .mnn-pdp-content__body::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 72px;
	background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
}

.mnn-pdp-content:has(.mnn-pdp-content__toggle:checked) .mnn-pdp-content__body {
	max-height: none;
}

.mnn-pdp-content:has(.mnn-pdp-content__toggle:checked) .mnn-pdp-content__body::after {
	display: none;
}

.mnn-pdp-content__boxes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	padding: 0;
	list-style: none;
}

.mnn-pdp-box {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 16px 16px 44px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--preset--color--surface);
}

.mnn-pdp-box::before {
	content: "";
	position: absolute;
	top: 18px;
	left: 16px;
	width: 18px;
	height: 18px;
	background-color: var(--mnn-pdp-green);
	-webkit-mask: url(../../assets/icons/check-circle.svg) center / contain no-repeat;
	mask: url(../../assets/icons/check-circle.svg) center / contain no-repeat;
}

.mnn-pdp-box--home::before {
	-webkit-mask-image: url(../../assets/icons/cat-home.svg);
	mask-image: url(../../assets/icons/cat-home.svg);
}

.mnn-pdp-box--terrain::before {
	background-color: var(--wp--preset--color--primary);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 6l-3.75 5 2.85 3.8-1.6 1.2C9.81 13.75 7 10 7 10l-6 8h22L14 6z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 6l-3.75 5 2.85 3.8-1.6 1.2C9.81 13.75 7 10 7 10l-6 8h22L14 6z'/%3E%3C/svg%3E");
}

.mnn-pdp-box--shield::before {
	-webkit-mask-image: url(../../assets/icons/cat-benefit-shield.svg);
	mask-image: url(../../assets/icons/cat-benefit-shield.svg);
}

.mnn-pdp-box--tools::before {
	-webkit-mask-image: url(../../assets/icons/cat-benefit-tools.svg);
	mask-image: url(../../assets/icons/cat-benefit-tools.svg);
}

.mnn-pdp-box--warning::before {
	background-color: #b45309;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E");
}

.mnn-pdp-box strong {
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
}

.mnn-pdp-box span {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	line-height: 19.5px;
}

/*
 * Inputs that are operated through their label. They stay where the label is — WordPress's
 * .screen-reader-text must not be used here: its :focus rule moves the input to the top of the
 * nearest positioned ancestor, and the browser scrolls there.
 */
.mnn-pdp-content__toggle,
.mnn-pdp-rate__input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	overflow: hidden;
	clip-path: inset(50%);
	pointer-events: none;
	appearance: none;
	-webkit-appearance: none;
}

.mnn-pdp-content__toggle {
	top: 50%;
	left: 50%;
}

.mnn-pdp-content__more {
	position: relative;
	scroll-margin-block: 24px;
	display: inline-flex;
	align-self: center;
	align-items: center;
	gap: 6px;
	padding: 8px 20px;
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--wp--preset--color--surface-strong);
	font-size: 14px;
	font-weight: 600;
	line-height: 18px;
	cursor: pointer;
}

.mnn-pdp-content__more::after {
	content: "";
	width: 9px;
	height: 5.55px;
	background: url(../../assets/icons/cat-caret-down.svg) center / 100% 100% no-repeat;
}

.mnn-pdp-content__more-close,
.mnn-pdp-content__toggle:checked ~ .mnn-pdp-content__more-open {
	display: none;
}

.mnn-pdp-content__toggle:checked ~ .mnn-pdp-content__more-close {
	display: inline;
}

.mnn-pdp-content__more:has(.mnn-pdp-content__toggle:checked)::after {
	transform: rotate(180deg);
}

.mnn-pdp-content__more:has(.mnn-pdp-content__toggle:focus-visible) {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

.mnn-pdp-spec-table {
	padding-top: 20px;
	border-top: 1px solid var(--wp--preset--color--border);
}

.mnn-pdp-spec-table h3 {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 700;
	line-height: 24.75px;
}

.mnn-pdp div.product.mnn-pdp__product table.shop_attributes {
	width: 100%;
	margin: 0;
	border: 1px solid var(--wp--preset--color--border);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--wp--custom--radius--sm);
	font-size: 14px;
	line-height: 20px;
	overflow: hidden;
}

.mnn-pdp div.product.mnn-pdp__product table.shop_attributes th,
.mnn-pdp div.product.mnn-pdp__product table.shop_attributes td {
	padding: 10px 14px;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: none;
	font-style: normal;
	text-align: left;
	vertical-align: top;
}

.mnn-pdp div.product.mnn-pdp__product table.shop_attributes tr:last-child > * {
	border-bottom: 0;
}

.mnn-pdp div.product.mnn-pdp__product table.shop_attributes th {
	width: 38%;
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--muted);
	font-weight: 500;
}

.mnn-pdp div.product.mnn-pdp__product table.shop_attributes td {
	font-weight: 600;
}

.mnn-pdp div.product.mnn-pdp__product table.shop_attributes td p {
	margin: 0;
	padding: 0;
}

.mnn-pdp div.product.mnn-pdp__product table.shop_attributes a {
	color: inherit;
}

/* ----- Accessories. */

.mnn-pdp-accessories {
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--wp--custom--color--gold-border);
	border-radius: var(--wp--custom--radius--md);
	background-color: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--sm);
}

.mnn-pdp-accessories__title {
	margin: 0 0 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--wp--preset--color--border);
	font-size: 13px;
	font-weight: 800;
	line-height: 18px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.mnn-pdp-accessories__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mnn-pdp-acc {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	background-color: #fbfaf6;
}

.mnn-pdp-acc__thumb {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--wp--preset--color--white);
	overflow: hidden;
}

.mnn-pdp-acc__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mnn-pdp-acc__info {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.mnn-pdp-acc__name,
.mnn-pdp-acc__name:hover {
	color: var(--wp--preset--color--contrast);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mnn-pdp-acc__name:hover {
	color: var(--wp--preset--color--primary);
}

.mnn-pdp-acc__desc {
	display: -webkit-box;
	color: var(--wp--preset--color--muted);
	font-size: 10.5px;
	line-height: 14px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.mnn-pdp-acc__price {
	color: var(--wp--preset--color--primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
}

.mnn-pdp-acc__price del {
	margin-right: 4px;
	color: var(--wp--preset--color--muted);
	font-weight: 400;
}

.mnn-pdp-acc__price ins {
	background: none;
	text-decoration: none;
}

.mnn-pdp-acc__add,
.mnn-pdp-acc__add:hover {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	gap: 4px;
	box-sizing: border-box;
	min-width: 72px;
	height: 28px;
	padding: 0 8px;
	border: 1px solid var(--wp--preset--color--primary);
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--primary);
	font-size: 11px;
	font-weight: 700;
	line-height: 16px;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.mnn-pdp-acc__add[data-product-id]::before {
	content: "+";
	font-size: 13px;
	line-height: 1;
}

.mnn-pdp-acc__add:not(.is-disabled):hover {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

.mnn-pdp-acc__add.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.mnn-pdp-acc__add.is-loading::before,
.mnn-pdp-acc__add.is-added::before {
	display: none;
}

.mnn-pdp-acc__add.is-added,
.mnn-pdp-acc__add.is-added:hover {
	border-color: #15803d;
	background-color: #15803d;
	color: var(--wp--preset--color--white);
}

.mnn-pdp-acc__add.is-disabled {
	border-color: var(--wp--preset--color--border);
	background-color: var(--wp--preset--color--surface-strong);
	color: var(--wp--preset--color--muted);
}

.mnn-pdp-acc.is-out-of-stock .mnn-pdp-acc__thumb img {
	opacity: 0.6;
}

/* ---------- FAQ ---------- */

.mnn-pdp-faq__title {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 700;
	line-height: 30px;
	letter-spacing: -0.5px;
}

.mnn-pdp-faq__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mnn-pdp-faq__item {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--sm);
	overflow: hidden;
}

.mnn-pdp-faq__item > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 28px;
	padding: 20px;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	list-style: none;
	cursor: pointer;
}

.mnn-pdp-faq__item > summary::-webkit-details-marker {
	display: none;
}

.mnn-pdp-faq__item > summary::after {
	content: "+";
	flex: none;
	color: var(--wp--preset--color--primary);
	font-size: 22px;
	font-weight: 700;
	line-height: 24px;
}

.mnn-pdp-faq__item > summary:focus-visible {
	outline-offset: -2px;
}

.mnn-pdp-faq__item[open] > summary {
	background-color: rgba(241, 244, 249, 0.5);
}

.mnn-pdp-faq__item[open] > summary::after {
	content: "−";
}

.mnn-pdp-faq__answer {
	padding: 12px 20px 20px;
	border-top: 1px solid var(--wp--preset--color--surface);
	color: var(--wp--preset--color--muted);
	font-size: 15px;
	line-height: 24.38px;
}

.mnn-pdp-faq__answer > :first-child {
	margin-top: 0;
}

.mnn-pdp-faq__answer > :last-child {
	margin-bottom: 0;
}

.mnn-pdp-faq__answer strong {
	color: var(--wp--preset--color--contrast);
}

.mnn-pdp-faq__answer a {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

/* ---------- Reviews ---------- */

.mnn-pdp-reviews {
	padding: 32px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background-color: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--sm);
	scroll-margin-top: 16px;
}

.mnn-pdp-reviews__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.mnn-pdp-reviews__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	line-height: 28px;
	letter-spacing: -0.4px;
}

.mnn-pdp-reviews__title::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	background-color: var(--wp--preset--color--primary);
	-webkit-mask: url(../../assets/icons/support-chat.svg) center / contain no-repeat;
	mask: url(../../assets/icons/support-chat.svg) center / contain no-repeat;
}

.mnn-pdp-reviews__summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	line-height: 16px;
}

.mnn-pdp-reviews__summary strong {
	color: var(--wp--preset--color--contrast);
	font-size: 14px;
}

.mnn-pdp-review-form {
	padding: 28px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--preset--color--surface);
}

.mnn-pdp-review-form .comment-respond,
.mnn-pdp-review-form p {
	margin: 0;
}

.mnn-pdp-review-form__form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
}

.mnn-pdp-review-form__form > * {
	grid-column: 1 / -1;
	min-width: 0;
}

/* WordPress prints the comment field first; the layout puts name and email above it. */
.mnn-pdp-review-form__form > .mnn-pdp-rate {
	order: 1;
}

.mnn-pdp-review-form__form > .logged-in-as {
	order: 2;
}

.mnn-pdp-review-form__form > .comment-form-author,
.mnn-pdp-review-form__form > .comment-form-email {
	grid-column: auto;
	order: 3;
}

.mnn-pdp-review-form__form > .comment-form-comment {
	order: 4;
}

.mnn-pdp-review-form__form > .comment-form-cookies-consent {
	order: 5;
}

.mnn-pdp-review-form__form > .form-submit {
	order: 6;
	padding-top: 16px;
	border-top: 1px solid var(--wp--preset--color--border);
}

.mnn-pdp-review-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.mnn-pdp-rate {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0;
	padding: 14px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 6px;
	background-color: var(--wp--preset--color--white);
}

.mnn-pdp-rate legend {
	float: left;
	padding: 0;
	font-size: 13px;
	font-weight: 700;
	line-height: 20px;
}

.mnn-pdp-rate__stars {
	position: relative;
	display: inline-flex;
}

.mnn-pdp-rate__stars label {
	display: block;
	width: 26px;
	height: 24px;
	background-color: #d5dae0;
	-webkit-mask: var(--mnn-pdp-star) center / 20px 19px no-repeat;
	mask: var(--mnn-pdp-star) center / 20px 19px no-repeat;
	cursor: pointer;
	transition: background-color 0.1s ease;
}

/* Gold up to the chosen star: the label right after the checked radio and every label before it. */
.mnn-pdp-rate__stars input:checked + label,
.mnn-pdp-rate__stars label:has(~ input:checked) {
	background-color: var(--mnn-pdp-gold);
}

.mnn-pdp-rate__stars:hover label {
	background-color: var(--mnn-pdp-gold);
}

.mnn-pdp-rate__stars label:hover ~ label {
	background-color: #d5dae0;
}

.mnn-pdp-rate__stars:has(input:focus-visible) {
	border-radius: 4px;
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 3px;
}

.mnn-pdp-rate__label {
	margin-left: auto;
	padding: 3px 10px;
	border: 1px solid #ffd5da;
	border-radius: 999px;
	background-color: var(--mnn-pdp-pink);
	color: var(--wp--preset--color--primary);
	font-size: 11px;
	font-weight: 700;
	line-height: 16px;
}

.mnn-pdp-rate__label[hidden] {
	display: none;
}

.mnn-pdp-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.mnn-pdp-review-form .required {
	color: var(--wp--preset--color--primary);
}

.mnn-pdp-field input,
.mnn-pdp-field textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0 12px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--contrast);
	font-family: inherit;
	font-size: 14px;
	line-height: 20px;
}

.mnn-pdp-field input {
	height: 44px;
}

.mnn-pdp-field textarea {
	min-height: 96px;
	padding-block: 10px;
	resize: vertical;
}

.mnn-pdp-field input::placeholder,
.mnn-pdp-field textarea::placeholder {
	color: #9aa3ad;
}

.mnn-pdp-field input:focus-visible,
.mnn-pdp-field textarea:focus-visible {
	border-color: var(--wp--preset--color--primary);
	outline: 2px solid rgba(168, 0, 19, 0.2);
	outline-offset: 0;
}

.mnn-pdp-review-form .comment-form-cookies-consent,
.mnn-pdp-review-form .logged-in-as,
.mnn-pdp-review-form .must-log-in {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	line-height: 18px;
}

.mnn-pdp-review-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.mnn-pdp-review-form .comment-form-cookies-consent input {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	accent-color: var(--wp--preset--color--primary);
}

.mnn-pdp-review-form .must-log-in a {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

.mnn-pdp-review-form__submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--wp--preset--color--primary);
	box-shadow: 0 4px 6px -1px rgba(168, 0, 19, 0.25);
	color: var(--wp--preset--color--white);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 18px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.mnn-pdp-review-form__submit::before {
	content: "";
	width: 14px;
	height: 14px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 20.5v-17L22 12 3 20.5zm2-3.05L17.85 12 5 6.55v3.9L11 12l-6 1.55v3.9z'/%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'%3E%3Cpath d='M3 20.5v-17L22 12 3 20.5zm2-3.05L17.85 12 5 6.55v3.9L11 12l-6 1.55v3.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mnn-pdp-review-form__submit:hover {
	background-color: var(--wp--preset--color--primary-dark);
}

.mnn-pdp-reviews__note,
.mnn-pdp-reviews__empty {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 14px;
	line-height: 20px;
}

.mnn-pdp-reviews__empty {
	padding-top: 20px;
}

.mnn-pdp-reviews__list,
.mnn-pdp-review__replies {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mnn-pdp-reviews__list {
	margin-top: 4px;
}

.mnn-pdp-review {
	padding: 20px 0;
	border-top: 1px solid var(--wp--preset--color--border);
	scroll-margin-top: 16px;
}

.mnn-pdp-reviews__list > .mnn-pdp-review:first-child {
	border-top: 0;
}

.mnn-pdp-reviews__list > .mnn-pdp-review:last-child {
	padding-bottom: 0;
}

.mnn-pdp-review__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.mnn-pdp-review__who {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 8px;
	min-width: 0;
}

.mnn-pdp-review__author {
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	overflow-wrap: anywhere;
}

.mnn-pdp-review__verified {
	padding: 1px 6px;
	border-radius: 2px;
	background-color: #dcfce7;
	color: var(--mnn-pdp-green);
	font-size: 11px;
	font-weight: 600;
	line-height: 16px;
}

.mnn-pdp-review__date {
	flex-basis: 100%;
	color: var(--wp--preset--color--muted);
	font-size: 11px;
	line-height: 16px;
	white-space: nowrap;
}

.mnn-pdp-review__pending {
	margin: 10px 0 0;
	padding: 8px 12px;
	border-radius: var(--wp--custom--radius--xs);
	background-color: #fef3c7;
	color: #92400e;
	font-size: 12px;
	line-height: 18px;
}

.mnn-pdp-review__text {
	margin-top: 12px;
	font-size: 14px;
	line-height: 22px;
	overflow-wrap: anywhere;
}

.mnn-pdp-review__text p {
	margin: 0 0 8px;
}

.mnn-pdp-review__text p:last-child {
	margin-bottom: 0;
}

.mnn-pdp-review__replies {
	margin-top: 12px;
}

.mnn-pdp-review--reply {
	padding: 12px 16px;
	border: 0;
	border-left: 3px solid var(--wp--preset--color--gold);
	border-radius: 0 var(--wp--custom--radius--xs) var(--wp--custom--radius--xs) 0;
	background-color: var(--wp--preset--color--surface);
}

.mnn-pdp-review--reply + .mnn-pdp-review--reply {
	margin-top: 8px;
}

.mnn-pdp-reviews__pages {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	margin-top: 24px;
}

.mnn-pdp-reviews__pages .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	box-sizing: border-box;
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--wp--preset--color--surface-strong);
	color: var(--wp--preset--color--contrast);
	font-size: 14px;
	font-weight: 600;
}

.mnn-pdp-reviews__pages .page-numbers.current {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

.mnn-pdp-reviews__pages .page-numbers.dots {
	background: none;
}

/* ---------- Similar products ---------- */

.mnn-pdp-related__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 16px;
}

.mnn-pdp-related__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 26px;
	letter-spacing: -0.3px;
}

.mnn-pdp-related__all,
.mnn-pdp-related__all:hover {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--wp--preset--color--primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
}

.mnn-pdp-related__all::after {
	content: "→";
	font-size: 14px;
}

.mnn-pdp-related__all:hover {
	text-decoration: underline;
}

.mnn-product-grid.mnn-pdp-related__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.mnn-product-card--related {
	padding: 14px;
	border-radius: var(--wp--custom--radius--sm);
}

.mnn-product-card--related .mnn-product-card__media {
	aspect-ratio: 16 / 9;
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--wp--preset--color--surface);
}

.mnn-product-card--related .mnn-product-card__media > a {
	box-sizing: border-box;
	padding: 8px;
}

.mnn-product-card--related .mnn-product-card__media img {
	object-fit: contain;
}

.mnn-product-card--related .mnn-product-card__badges {
	top: 0;
	left: 0;
}

.mnn-product-card--related .mnn-badge {
	padding: 3px 8px;
	border-radius: 2px;
	font-size: 11px;
	filter: none;
}

.mnn-product-card--related .mnn-product-card__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0 12px;
	padding: 12px 0 0;
}

.mnn-product-card--related .mnn-product-card__meta,
.mnn-product-card--related .mnn-product-card__title {
	grid-column: 1 / -1;
}

.mnn-product-card--related .mnn-product-card__meta {
	min-height: 16px;
	margin-bottom: 0;
}

.mnn-product-card--related .mnn-brand-chip,
.mnn-product-card--related .mnn-brand-chip:hover {
	padding: 0;
	background: none;
	color: var(--wp--preset--color--muted);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.3px;
}

/* Stock is on the product page itself; the Figma card has brand, name, price and one button. */
.mnn-product-card--related .mnn-chip:not(.mnn-chip--out) {
	display: none;
}

.mnn-product-card--related .mnn-product-card__title {
	min-height: 40px;
	margin: 4px 0 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--wp--preset--color--border);
	font-size: 14px;
	line-height: 20px;
}

.mnn-product-card--related .mnn-product-card__price {
	margin-top: 0;
	padding-top: 0;
	font-size: 16px;
	line-height: 22px;
}

.mnn-product-card--related .mnn-product-card__action {
	margin-top: 0;
}

.mnn-product-card--related .mnn-product-card__button,
.mnn-product-card--related .mnn-product-card__button:visited {
	width: auto;
	height: 28px;
	padding: 0 12px;
	border: 0;
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	font-size: 12px;
	font-weight: 700;
	filter: none;
}

.mnn-product-card--related .mnn-product-card__button:hover,
.mnn-product-card--related .mnn-product-card__button:focus-visible {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

/* ---------- Buy bar on phones (proposed; not in Figma) ---------- */

.mnn-pdp-sticky {
	position: fixed;
	inset: auto 0 0;
	z-index: 90;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--wp--preset--color--border);
	background-color: var(--wp--preset--color--white);
	box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.mnn-pdp-sticky[hidden] {
	display: none;
}

body.mnn-has-buy-bar {
	padding-bottom: 64px;
}

.mnn-pdp-sticky__info {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.mnn-pdp-sticky__name {
	color: var(--wp--preset--color--muted);
	font-size: 11px;
	line-height: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mnn-pdp-sticky__price {
	color: var(--wp--preset--color--primary);
	font-size: 16px;
	font-weight: 800;
	line-height: 22px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mnn-pdp-sticky__price del {
	display: none;
}

.mnn-pdp-sticky__price ins {
	background: none;
	text-decoration: none;
}

.mnn-pdp-sticky__cart,
.mnn-pdp-sticky__buy {
	flex: none;
	height: 44px;
	border-radius: var(--wp--custom--radius--xs);
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.mnn-pdp-sticky__cart {
	width: 44px;
	border: 2px solid var(--wp--preset--color--primary);
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--primary);
}

.mnn-pdp-sticky__cart::before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	margin: auto;
	background-color: currentColor;
	-webkit-mask: url(../../assets/icons/cart.svg) center / contain no-repeat;
	mask: url(../../assets/icons/cart.svg) center / contain no-repeat;
}

.mnn-pdp-sticky__cart.is-added {
	border-color: #15803d;
	background-color: #15803d;
	color: var(--wp--preset--color--white);
}

.mnn-pdp-sticky__buy {
	padding: 0 18px;
	border: 0;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	text-transform: uppercase;
}

/* ---------- Responsive (proposed; Figma has desktop only) ---------- */

@media (max-width: 1199px) {
	.mnn-pdp div.product .mnn-pdp-buy form.cart button.single_add_to_cart_button {
		min-width: 0;
	}
}

@media (max-width: 1023px) {
	.mnn-pdp-top {
		gap: 24px;
	}

	.mnn-pdp-specs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mnn-pdp-support__contacts,
	.mnn-pdp-commitments {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Accessories move under the description, two per row. */
	.mnn-pdp-body.has-aside {
		grid-template-columns: minmax(0, 1fr);
	}

	.mnn-pdp-accessories__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.mnn-pdp {
		padding-bottom: 40px;
	}

	.mnn-pdp-crumbs {
		margin-bottom: 16px;
	}

	.mnn-pdp__product {
		gap: 24px;
	}

	.mnn-pdp-top {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Thumbnails become one swipeable row. */
	.mnn-pdp div.product.mnn-pdp__product div.images .flex-control-thumbs {
		display: flex;
		gap: 8px;
		margin-top: 8px;
		padding-bottom: 2px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.mnn-pdp div.product.mnn-pdp__product div.images .flex-control-thumbs::-webkit-scrollbar {
		display: none;
	}

	.mnn-pdp div.product.mnn-pdp__product div.images .flex-control-thumbs li {
		flex: none;
		width: 68px;
	}

	.mnn-pdp-summary > .mnn-pdp-title {
		font-size: 24px;
		line-height: 30px;
		letter-spacing: -0.5px;
	}

	.mnn-pdp-price .mnn-pdp-price__amount {
		font-size: 26px;
		line-height: 32px;
	}

	.mnn-pdp-support__contacts,
	.mnn-pdp-commitments {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mnn-pdp-content,
	.mnn-pdp-reviews {
		padding: 20px 16px;
		border-radius: var(--wp--custom--radius--md);
	}

	.mnn-pdp-content__title {
		padding-bottom: 16px;
		font-size: 22px;
		line-height: 28px;
	}

	.mnn-pdp-content__lead {
		padding: 44px 16px 16px;
	}

	.mnn-pdp-content__lead::before {
		top: 16px;
		left: 16px;
	}

	.mnn-pdp-review-form {
		padding: 16px;
	}

	.mnn-pdp-reviews__title {
		font-size: 20px;
		line-height: 26px;
	}

	.mnn-pdp-faq__title {
		font-size: 22px;
		line-height: 28px;
	}

	.mnn-pdp-faq__item > summary {
		padding: 16px;
		font-size: 15px;
		line-height: 22px;
	}

	.mnn-pdp-faq__answer {
		padding: 12px 16px 16px;
	}

	/* Similar products: one swipeable row instead of three narrow columns. */
	.mnn-product-grid.mnn-pdp-related__grid {
		/* Containing block for the cards' visually hidden price labels, so the row clips them too. */
		position: relative;
		display: flex;
		gap: 12px;
		margin-inline: -16px;
		padding: 0 16px 4px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	.mnn-product-grid.mnn-pdp-related__grid::-webkit-scrollbar {
		display: none;
	}

	.mnn-pdp-related__grid > .mnn-product-card {
		flex: none;
		width: min(78vw, 300px);
		scroll-snap-align: start;
	}
}

@media (max-width: 599px) {
	.mnn-pdp-accessories {
		padding: 16px;
	}

	.mnn-pdp-accessories__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.mnn-pdp-content__boxes,
	.mnn-pdp-review-form__form {
		grid-template-columns: minmax(0, 1fr);
	}

	.mnn-pdp-rate__label {
		margin-left: 0;
	}

	/* Quantity on its own line; the two buttons share the next one and stay easy to tap. */
	.mnn-pdp div.product .mnn-pdp-buy form.cart button.single_add_to_cart_button,
	.mnn-pdp-buy__now {
		flex: 1 1 calc(50% - 6px);
		min-width: calc(50% - 6px);
		padding: 0 10px;
	}

	.mnn-pdp-buy .quantity {
		flex: 1 1 0;
	}

	.mnn-pdp-buy .quantity .qty {
		flex: 1;
		min-width: 0;
	}

	.mnn-pdp-qty__button {
		width: 48px;
	}

	.mnn-pdp-review-form__submit {
		justify-content: center;
		width: 100%;
	}
}

@media (max-width: 399px) {
	.mnn-pdp-support__contacts,
	.mnn-pdp-commitments {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mnn-pdp * {
		transition: none !important;
	}
}
