.mx-v41-configurator {
	border: 1px solid #e8dfd2;
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
	margin: 0 0 16px;
}
.mx-v41-heading {
	padding: 13px 16px 9px;
	border-bottom: 1px solid #eee7dc;
}
.mx-v41-heading small {
	display: block;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-size: 11px;
	opacity: .62;
}
.mx-v41-heading h2 {
	margin: 2px 0 0;
	font-size: 21px;
	line-height: 1.2;
}
.mx-v41-step {
	padding: 12px 16px;
	border-bottom: 1px solid #eee7dc;
}
.mx-v41-step-title {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 9px;
}
.mx-v41-step-title > span {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #202020;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	flex: 0 0 auto;
}
.mx-v41-step-title strong {
	font-size: 16px;
	line-height: 1.2;
}
.mx-v41-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
	gap: 7px;
}
.mx-v41-option {
	min-height: 43px;
	padding: 8px 10px;
	border: 1px solid #d9d4cc;
	border-radius: 9px;
	background: #fff;
	color: #222;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.mx-v41-option:hover:not(:disabled) {
	border-color: #c7252b;
}
.mx-v41-option[aria-pressed="true"] {
	border-color: #e2292f;
	background: #fff7f7;
	box-shadow: inset 0 0 0 1px #e2292f;
}
.mx-v41-option:disabled {
	opacity: .35;
	cursor: not-allowed;
}
.mx-v41-mode-option {
	min-height: 54px;
	font-size: 15px;
}
.mx-v41-model-current {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid #ddd7cf;
	border-radius: 10px;
	background: #faf9f7;
}
.mx-v41-model-current small,
.mx-v41-model-current strong {
	display: block;
}
.mx-v41-model-current small {
	font-size: 11px;
	opacity: .62;
	margin-bottom: 1px;
}
.mx-v41-model-current strong {
	font-size: 16px;
}
.mx-v41-open-models {
	white-space: nowrap;
}
.mx-v41-field-label {
	display: block;
	font-weight: 700;
	font-size: 13px;
}
.mx-v41-field-label input {
	display: block;
	width: 100%;
	margin-top: 6px;
	min-height: 48px;
	padding: 8px 13px;
	border: 1px solid #ccc5bb;
	border-radius: 9px;
	font-size: 17px;
	font-weight: 700;
	appearance: textfield;
	-webkit-appearance: none;
}

.mx-v41-meter-field {
	position: relative;
	display: block;
	margin-top: 5px;
}

.mx-v41-field-label .mx-v41-meter-field input {
	margin-top: 0;
	padding-right: 82px;
}

.mx-v41-meter-field > span {
	position: absolute;
	top: 50%;
	right: 14px;
	color: #6b7280;
	font-size: 14px;
	font-weight: 800;
	pointer-events: none;
	transform: translateY(-50%);
}
.mx-v41-help {
	margin: 6px 0 0;
	font-size: 12px;
	opacity: .68;
}
.mx-v41-help.is-error {
	color: #a32020;
	opacity: 1;
	font-weight: 700;
}
.mx-v41-quantity {
	display: grid;
	grid-template-columns: 46px minmax(70px, 100px) 46px;
	gap: 6px;
	align-items: stretch;
}
.mx-v41-quantity button,
.mx-v41-quantity input {
	height: 44px;
	border: 1px solid #d2ccc4;
	border-radius: 9px;
	background: #fff;
	font: inherit;
	font-weight: 800;
	text-align: center;
}
.mx-v41-quantity button {
	font-size: 21px;
	cursor: pointer;
}
.mx-v41-quantity input {
	font-size: 16px;
}
.mx-v41-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 10px 16px 13px;
	padding: 12px 13px;
	border: 1px solid #bcdcca;
	border-radius: 10px;
	background: #f1faf5;
	font-weight: 700;
}
.mx-v41-summary strong {
	font-size: 18px;
	color: #147a49;
	white-space: nowrap;
}
.mx-v41-summary-total {
	display: grid;
	gap: 2px;
	justify-items: end;
	text-align: right;
}
.mx-v41-summary-total small {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	opacity: .7;
}
.mx-v41-summary-total > span {
	font-size: 10px;
	opacity: .7;
}
.mx-v41-summary-copy {
	display: block;
	min-width: 0;
}
.mx-v41-summary-copy small {
	display: block;
	margin-bottom: 2px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	opacity: .62;
}
.mx-v41-summary-copy > span {
	display: block;
}
.mx-v41-status {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
}
form.mx-v41-ready table.variations {
	display: none !important;
}
.mx-v41-native-quantity-hidden {
	display: none !important;
}

.mx-v41-dialog {
	width: min(920px, calc(100vw - 24px));
	max-height: calc(100vh - 24px);
	padding: 0;
	border: 0;
	border-radius: 14px;
	box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.mx-v41-dialog::backdrop {
	background: rgba(0,0,0,.55);
}
.mx-v41-dialog-panel {
	padding: 15px;
	background: #fff;
}
.mx-v41-dialog-panel > header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 11px;
}
.mx-v41-dialog-panel header small {
	font-weight: 700;
	opacity: .6;
}
.mx-v41-dialog-panel header h2 {
	margin: 1px 0 0;
	font-size: 21px;
}
.mx-v41-dialog-panel header button {
	border: 0;
	background: transparent;
	font-size: 31px;
	line-height: 1;
	cursor: pointer;
}
.mx-v41-search {
	display: block;
	font-weight: 700;
	font-size: 12px;
	margin-bottom: 10px;
}
.mx-v41-search input {
	display: block;
	width: 100%;
	margin-top: 4px;
	min-height: 43px;
	border: 1px solid #d5d0c8;
	border-radius: 9px;
	padding: 7px 10px;
}
.mx-v41-model-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 9px;
	max-height: min(66vh, 620px);
	overflow: auto;
	padding: 2px;
}
.mx-v41-model-card {
	border: 1px solid #ddd7ce;
	border-radius: 10px;
	background: #fff;
	padding: 7px;
	cursor: pointer;
	text-align: left;
}
.mx-v41-model-card[aria-pressed="true"] {
	border-color: #e2292f;
	box-shadow: inset 0 0 0 1px #e2292f;
}
.mx-v41-model-card img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 7px;
	background: #f4f2ee;
	margin-bottom: 6px;
}
.mx-v41-model-card strong {
	display: block;
	font-size: 13px;
	line-height: 1.2;
}
.mx-v41-no-results {
	padding: 14px;
	text-align: center;
}

@media (max-width: 640px) {
	.mx-v41-step { padding: 11px 12px; }
	.mx-v41-heading { padding-left: 12px; padding-right: 12px; }
	.mx-v41-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mx-v41-model-current { align-items: stretch; flex-direction: column; }
	.mx-v41-open-models { width: 100%; }
	.mx-v41-summary { margin-left: 12px; margin-right: 12px; align-items: flex-start; flex-direction: column; gap: 3px; }
	.mx-v41-summary-total { justify-items: start; text-align: left; }
	.mx-v41-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* v4.2.22 — refinamiento visual responsive; solo CSS. */
.mx-v41-configurator {
	width: 100%;
	max-width: 100%;
	border-color: #e1d8cb;
	border-radius: 16px;
	box-shadow: 0 2px 10px rgba(44, 35, 25, .035);
}

.mx-v41-heading {
	padding: 15px 17px 12px;
	background: #fffaf0;
	border-bottom-color: #eadbc2;
}

.mx-v41-heading small {
	color: #7c6a53;
	opacity: 1;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .07em;
}

.mx-v41-heading h2 {
	font-size: 23px;
	font-weight: 850;
	letter-spacing: -.015em;
}

.mx-v41-step {
	padding: 14px 17px;
}

.mx-v41-step-title {
	margin-bottom: 11px;
}

.mx-v41-step-title > span {
	width: 26px;
	height: 26px;
	font-size: 12px;
}

.mx-v41-step-title strong {
	font-size: 17px;
	font-weight: 800;
}

.mx-v41-options {
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 8px;
}

.mx-v41-option {
	min-height: 48px;
	border-color: #d8d0c5;
	border-radius: 10px;
	font-size: 15px;
}

.mx-v41-mode-option {
	min-height: 58px;
}

/* Un modelo seleccionado nunca debe quedar como media tarjeta en móvil. */
.mx-v41-options > .mx-v41-model-current {
	grid-column: 1 / -1;
	width: 100%;
}

.mx-v41-model-current {
	padding: 11px 12px;
	border-color: #ddd3c6;
	background: #fffdf9;
}

.mx-v41-model-current strong {
	font-size: 17px;
}

.mx-v41-open-models {
	min-height: 44px;
	border-radius: 8px !important;
}

.mx-v41-field-label {
	font-size: 13px;
}

.mx-v41-field-label input {
	min-height: 52px;
	font-size: 18px;
	border-radius: 10px;
}

.mx-v41-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	margin: 12px 17px 15px;
	padding: 14px 15px;
	border-color: #c7decf;
	border-radius: 11px;
	background: #f4faf6;
}

.mx-v41-summary-copy small {
	font-size: 11px;
	color: #69736d;
	opacity: 1;
}

.mx-v41-summary-copy > span {
	font-size: 15px;
	line-height: 1.35;
	color: #2d2a26;
}

.mx-v41-summary strong {
	font-size: 24px;
	font-weight: 900;
	letter-spacing: -.015em;
}

@media (max-width: 640px) {
	.mx-v41-configurator {
		border-radius: 13px;
		margin-bottom: 12px;
	}

	.mx-v41-heading {
		padding: 13px 13px 11px;
	}

	.mx-v41-heading h2 {
		font-size: 21px;
	}

	.mx-v41-step {
		padding: 12px 13px;
	}

	.mx-v41-step-title {
		gap: 8px;
		margin-bottom: 9px;
	}

	.mx-v41-step-title strong {
		font-size: 16px;
	}

	.mx-v41-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.mx-v41-option {
		min-width: 0;
		min-height: 50px;
		padding: 9px 8px;
		font-size: 14px;
	}

	.mx-v41-options > .mx-v41-model-current {
		grid-column: 1 / -1;
	}

	.mx-v41-model-current {
		align-items: center;
		flex-direction: row;
		gap: 10px;
		padding: 10px 11px;
	}

	.mx-v41-open-models {
		width: auto;
		min-height: 42px;
		padding-right: 12px !important;
		padding-left: 12px !important;
		white-space: nowrap;
	}

	.mx-v41-field-label input {
		min-height: 52px;
	}

	.mx-v41-summary {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		margin: 11px 13px 13px;
		padding: 13px;
	}

	.mx-v41-summary strong {
		font-size: 22px;
	}
}

@media (max-width: 380px) {
	.mx-v41-model-current {
		align-items: stretch;
		flex-direction: column;
	}

	.mx-v41-open-models {
		width: 100%;
	}

	.mx-v41-summary {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.mx-v41-summary strong {
		font-size: 24px;
	}
}

/* v5.2.1 — resumen explícito de producto, subtotal y siguiente paso. */
.mx-v41-summary {
	display: block;
	padding: 0;
	overflow: hidden;
	border: 1px solid #d8dee7;
	border-top: 3px solid #d62828;
	background: #fff;
}

.mx-v41-summary-line {
	display: flex;
	padding: 14px 15px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.mx-v41-summary-total {
	justify-items: end;
	text-align: right;
}

.mx-v41-summary-total > strong {
	display: inline-flex;
	white-space: nowrap;
	color: #0f172a;
	font-size: 32px;
	font-weight: 900;
	line-height: 1;
}

.mx-v41-summary-no-shipping {
	display: block;
	margin-top: 7px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #171717;
	font-size: 15px;
	font-weight: 650;
	line-height: 1.35;
	opacity: 1;
}

.mx-v41-summary-next {
	display: block;
	padding: 13px 15px;
	border-top: 1px solid #cbdceb;
	background: #edf5fd;
	color: #173f70;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.35;
}

@media (max-width: 640px) {
	.mx-v41-summary {
		padding: 0;
	}

	.mx-v41-summary-line {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.mx-v41-summary-total {
		width: 100%;
		justify-items: start;
		text-align: left;
	}
}

/* v5.2.7 — ayudas de compra visibles y comparación de las 2 imágenes de cenefas. */
.mx-v41-buy-help {
	display: grid;
	gap: 5px;
	margin: 12px 17px 3px;
	padding: 13px 14px;
	border: 1px solid #d8e0e8;
	border-left: 4px solid #8a704c;
	border-radius: 10px;
	background: #f8fafc;
	color: #202020;
}

.mx-v41-buy-help strong {
	font-size: 15px;
	font-weight: 850;
	line-height: 1.25;
}

.mx-v41-buy-help span {
	color: #46505b;
	font-size: 13.5px;
	font-weight: 550;
	line-height: 1.45;
}

.mx-v41-model-image-pair {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
	width: 100%;
	margin-top: 3px;
}

.mx-v41-model-image-card {
	display: grid;
	min-width: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid #d7dee7;
	border-radius: 10px;
	background: #fff;
	color: #202020;
	cursor: pointer;
	text-align: left;
}

.mx-v41-model-image-card:hover {
	border-color: #9aa9b8;
}

.mx-v41-model-image-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #f4f4f4;
}

.mx-v41-model-image-card span {
	display: block;
	padding: 7px 9px 8px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
}

@media (max-width: 640px) {
	.mx-v41-buy-help {
		margin: 10px 13px 2px;
		padding: 12px 13px;
	}

	.mx-v41-buy-help strong {
		font-size: 15px;
	}

	.mx-v41-buy-help span {
		font-size: 13px;
	}
}
