:root {
	--mdp-man-ink: var(--mdp-theme-text, #6f6462);
	--mdp-man-surface: var(--mdp-theme-surface, #fff);
	--mdp-man-line: color-mix(in srgb, var(--mdp-man-ink) 13%, transparent);
	--mdp-man-desktop-edge: clamp(18px, 1.6vw, 28px);
}

form.cart.mdp-man-is-enhanced {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	clear: both !important;
}

.mdp-man-internal-cart-source,
.mdp-man-internal-cart-source[hidden] {
	display: none !important;
}

.mdp-man__desktop-actions {
	display: none;
	clear: both;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 0 0 16px;
	box-sizing: border-box;
}

@media (min-width: 769px) {
	.mdp-man__desktop-actions.is-ready {
		display: block !important;
		padding-inline-end: var(--mdp-man-desktop-edge);
	}

	html body.single-product .mdp-man__desktop-actions + .mdp-sw-desktop-action {
		width: calc(100% - var(--mdp-man-desktop-edge)) !important;
		max-width: calc(100% - var(--mdp-man-desktop-edge)) !important;
		box-sizing: border-box !important;
	}
}

.mdp-man__button-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(12px, 1.3vw, 18px);
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.mdp-man__price {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 0 0 28px;
	box-sizing: border-box;
	color: var(--mdp-man-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mdp-man__price-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 7px 10px;
	width: 100%;
	min-width: 0;
}

.mdp-man__price [hidden] {
	display: none !important;
}

.mdp-man__sale-price {
	min-width: 0;
	color: #242120;
	font-size: clamp(25px, 2.1vw, 32px);
	font-weight: 750;
	line-height: 1.15;
	letter-spacing: -.02em;
	white-space: nowrap;
}

.mdp-man__sale-price .woocommerce-Price-amount,
.mdp-man__sale-price .woocommerce-Price-currencySymbol,
.mdp-man__regular-price .woocommerce-Price-amount,
.mdp-man__regular-price .woocommerce-Price-currencySymbol {
	color: inherit !important;
	font: inherit !important;
}

.mdp-man__mrp-label {
	color: #6f6967;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

.mdp-man__regular-price {
	color: #8b8582;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration-thickness: 1.5px;
	white-space: nowrap;
}

.mdp-man__discount {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 3px 11px;
	border-radius: 999px;
	background: #fff0f1;
	color: #dd2638;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .01em;
	white-space: nowrap;
}

.mdp-man__tax-note {
	margin: 12px 0 0 !important;
	color: #8b8582;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.35;
}

.mdp-man__product-column {
	min-width: 0 !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.mdp-man__product-column .product_title {
	max-width: 100% !important;
	overflow-wrap: anywhere;
}

.mdp-man__native-price--replaced,
.mdp-man__native-tax--replaced {
	display: none !important;
}

form.cart.mdp-man-is-enhanced > .single_add_to_cart_button,
form.cart.mdp-man-is-enhanced .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
form.cart.mdp-man-is-enhanced .wpcbn-btn {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.mdp-man__product-action {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-width: 0 !important;
	height: 56px !important;
	min-height: 56px !important;
	margin: 0 !important;
	padding: 14px 22px !important;
	border: 1px solid var(--mdp-theme-accent, #c5a46d) !important;
	border-radius: 8px !important;
	background: var(--mdp-theme-accent, #c5a46d) !important;
	color: #fff !important;
	box-shadow: none !important;
	font: 700 15px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
	letter-spacing: .01em !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: filter .16s ease, transform .16s ease;
}

.mdp-man__product-action:hover,
.mdp-man__product-action:focus,
.mdp-man__product-action:active {
	border-color: var(--mdp-theme-accent, #c5a46d) !important;
	background: var(--mdp-theme-accent, #c5a46d) !important;
	color: #fff !important;
	box-shadow: none !important;
	filter: brightness(.95);
}

.mdp-man__product-action:active {
	transform: translateY(1px);
}

.mdp-man__product-action:focus-visible {
	outline: 2px solid var(--mdp-theme-accent, #c5a46d) !important;
	outline-offset: 2px;
}

.mdp-man__product-error {
	display: none;
	margin: 9px 0 0;
	color: #b42318;
	font-size: 13px;
	line-height: 1.4;
}

.mdp-man__product-error.is-visible {
	display: block;
}

.mdp-man__quantity-row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 18px;
	width: 100%;
	min-width: 0;
	margin: 0 0 18px;
	box-sizing: border-box;
}

.mdp-man__quantity-label {
	flex: 0 0 auto;
	color: var(--mdp-man-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
}

form.cart.mdp-man-is-enhanced .quantity {
	float: none !important;
	margin: 14px 0 !important;
}

form.cart.mdp-man-is-enhanced .quantity.mdp-man-source-quantity--mirrored {
	display: none !important;
}

.mdp-man-qty {
	flex: 0 0 auto;
	display: inline-grid;
	grid-template-columns: 40px 52px 40px;
	align-items: stretch;
	min-height: 44px;
	overflow: hidden;
	border: 1px solid var(--mdp-man-line);
	border-radius: 8px;
	background: var(--mdp-man-surface);
}

.mdp-man-qty button {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	color: var(--mdp-theme-accent, #c5a46d) !important;
	box-shadow: none !important;
	font: 600 18px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	cursor: pointer;
}

.mdp-man-qty button:hover,
.mdp-man-qty button:focus,
.mdp-man-qty button:active {
	border-color: transparent !important;
	background: transparent !important;
	color: var(--mdp-theme-accent, #c5a46d) !important;
	box-shadow: none !important;
}

.mdp-man-qty input.qty,
.mdp-man-qty input[data-mdp-man-visible-qty] {
	width: 52px !important;
	min-width: 0 !important;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-right: 1px solid var(--mdp-man-line) !important;
	border-left: 1px solid var(--mdp-man-line) !important;
	border-radius: 0 !important;
	background: var(--mdp-man-surface) !important;
	color: #111 !important;
	box-shadow: none !important;
	font: 600 16px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
	text-align: center !important;
	-webkit-text-fill-color: #111 !important;
	appearance: textfield;
	-moz-appearance: textfield;
}

.mdp-man-qty input.qty::-webkit-inner-spin-button,
.mdp-man-qty input.qty::-webkit-outer-spin-button,
.mdp-man-qty input[data-mdp-man-visible-qty]::-webkit-inner-spin-button,
.mdp-man-qty input[data-mdp-man-visible-qty]::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

html body.single-product .mdp-man__desktop-actions + .mdp-sw-desktop-action {
	margin-top: 2px !important;
}

@media (max-width: 768px) {
	.mdp-man__desktop-actions.is-ready {
		display: block !important;
	}

	.mdp-man__desktop-actions .mdp-man__button-pair,
	.mdp-man__desktop-actions .mdp-man__product-error {
		display: none !important;
	}

	.mdp-man__desktop-actions--mobile .mdp-man__button-pair {
		display: grid !important;
	}

	.mdp-man__desktop-actions--mobile .mdp-man__product-error.is-visible {
		display: block !important;
	}

	.mdp-man__price {
		margin-bottom: 18px;
	}

	.mdp-man__sale-price {
		font-size: 25px;
	}

	.mdp-man__mrp-label {
		font-size: 14px;
	}

	.mdp-man__regular-price {
		font-size: 16px;
	}

	.mdp-man__discount {
		min-height: 26px;
		padding: 3px 9px;
		font-size: 13px;
	}

	.mdp-man__quantity-row {
		gap: 14px;
		margin-bottom: 12px;
	}

	form.cart.mdp-man-is-enhanced .quantity {
		margin: 10px 0 !important;
	}
}

	@media (min-width: 769px) and (max-width: 1024px) {
	.mdp-man__desktop-actions {
		max-width: 100%;
	}

	.mdp-man__button-pair {
		gap: 12px;
	}

	.mdp-man__product-action {
		height: 54px !important;
		min-height: 54px !important;
		font-size: 15px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mdp-man__product-action {
		transition: none;
	}
}
