.enigma-modo {
	display: inline-flex;
	gap: 6px;
	margin: 0 0 16px;
	padding: 4px;
	background: #f6f9f8;
	border-radius: 8px;
}

.enigma-modo__btn {
	appearance: none;
	border: 0;
	background: transparent;
	color: #000;
	font-weight: 600;
	padding: 8px 18px;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.2;
}

.enigma-modo__btn.is-activo {
	background: var(--wd-primary-color, #438e44);
	color: #fff;
}

.enigma-modo--tienda {
	display: flex;
	justify-content: center;
	margin: 0 0 24px;
}

/* Armador */
.enigma-mixta {
	margin: 0 0 24px;
	padding: 16px 18px;
	background: #f6f9f8;
	border-radius: 8px;
}

.enigma-mixta__paso {
	margin-bottom: 18px;
}

.enigma-mixta__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--wd-primary-color, #438e44);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.enigma-mixta__titulo {
	font-weight: 700;
	color: #000;
}

.enigma-mixta__cajas,
.enigma-mixta__tallos {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 10px 0 0;
}

.enigma-chip {
	appearance: none;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 5px;
	padding: 6px 12px;
	font-size: 14px;
	font-weight: 600;
	color: #000;
	cursor: pointer;
}

.enigma-chip.is-activo {
	background: var(--wd-primary-color, #438e44);
	border-color: var(--wd-primary-color, #438e44);
	color: #fff;
}

.enigma-mixta__resumen {
	margin: 12px 0;
}

.enigma-mixta__seleccion {
	margin: 0 0 10px;
	font-size: 14px;
	color: #000;
}

.enigma-mixta__seleccion strong {
	font-weight: 700;
}

.enigma-mixta__barra {
	height: 10px;
	background: rgba(0, 0, 0, .08);
	border-radius: 10px;
	overflow: hidden;
}

.enigma-mixta__relleno {
	display: block;
	height: 100%;
	width: 0;
	background: var(--wd-primary-color, #438e44);
	transition: width .2s ease;
}

.enigma-mixta__contador {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #000;
}

.enigma-mixta__variedades {
	margin-top: 6px;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	max-height: 340px;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}

/* Barra de filtros */
.enigma-mixta__filtros {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 10px 0 8px;
}

.enigma-mixta__buscar {
	flex: 1 1 200px;
	min-width: 160px;
	padding: 8px 10px;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 5px;
	font-size: 14px;
}

.enigma-mixta__colores {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.enigma-mixta__colores .enigma-chip {
	padding: 4px 10px;
	font-size: 13px;
}

.enigma-mixta__conteo {
	flex-basis: 100%;
	font-size: 13px;
	color: #333;
}

.enigma-mixta__fila {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.enigma-mixta__fila:last-child {
	border-bottom: 0;
}

.enigma-mixta__fila img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 4px;
	flex: 0 0 auto;
}

.enigma-mixta__info {
	flex: 1 1 auto;
	min-width: 0;
}

.enigma-mixta__nombre {
	font-weight: 600;
	color: #000;
}

.enigma-mixta__color,
.enigma-mixta__precio {
	font-size: 13px;
	color: #333;
}

.enigma-mixta__precio strong {
	color: var(--wd-primary-color, #438e44);
}

.enigma-mixta__stepper {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
}

.enigma-mixta__stepper button {
	width: 30px;
	height: 30px;
	border: 1px solid rgba(0, 0, 0, .15);
	background: #f6f9f8;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	color: #000;
}

.enigma-mixta__stepper input {
	width: 46px;
	text-align: center;
	padding: 4px;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 5px;
	-moz-appearance: textfield;
}

.enigma-mixta__stepper input::-webkit-outer-spin-button,
.enigma-mixta__stepper input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.enigma-mixta__pie {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 14px;
}

.enigma-mixta__total span {
	display: block;
	font-size: 13px;
	color: #333;
}

.enigma-mixta__total strong {
	font-size: 20px;
	color: var(--wd-primary-color, #438e44);
}

.enigma-mixta__agregar[disabled] {
	opacity: .5;
	cursor: not-allowed;
}

.enigma-mixta__aviso {
	margin: 8px 0 0;
	font-size: 13px;
	color: #333;
}

.enigma-mixta__cargando,
.enigma-mixta__vacio {
	padding: 14px;
	background: #fff;
	border-radius: 6px;
	color: #333;
}
